<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Aleksander,<br>
that's weird because the version (debian 8 kolab16) is 0.9.2.1<br>
A grep in the source package shows:<br>
grep -n apply_to_client_message * -r<br>
src/kolab_guam_rule.erl:28:-callback
apply_to_client_message(ImapSession :: pid(), Command :: binary(),
SplitBinary :: { Tag :: binary(), Command :: binary(), Data ::
binary() }, State :: any()) -><br>
src/kolab_guam_session.erl:302: { Data, NewState } =
Module:apply_to_client_message(ImapSession, ClientData,
SplitCommand, RuleState),<br>
src/rules/kolab_guam_rule_filter_groupware.erl:19:-export([new/1,
applies/4, imap_data/3, apply_to_client_message/4,
apply_to_server_message/3]).<br>
<b>src/rules/kolab_guam_rule_filter_groupware.erl:32:apply_to_client_message(ImapSession,
Buffer, { Tag, Command, Data }, State) -></b><br>
test/kolab_guam_rules_SUITE.erl:67: { _, ReadyState } =
kolab_guam_rule_filter_groupware:apply_to_client_message(ImapSession,
<<"7 list (subscribed) \"\" \"*\" return
(special-use)">>, State),<br>
test/kolab_guam_rules_SUITE.erl:82: { _, ReadyState } =
kolab_guam_rule_filter_groupware:apply_to_client_message(<<"7
list (subscribed) \"\" \"*\" return (special-use)">>,
State),<br>
So the patch should be applied in this particular version.<br>
Hm.<br>
Doing a grep -r three libs show the function:<br>
Binary file lib/kolab_guam-0.9.2/ebin/kolab_guam_rule.beam matches<br>
Binary file
lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam
matches<br>
Binary file lib/kolab_guam-0.9.2/ebin/kolab_guam_session.beam
matches<br>
<br>
strings
lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam|grep
-i apply_to_client_message<br>
apply_to_client_message<br>
<br>
But the lib is NOT active:<br>
fuser
lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam<br>
Nothing returned.<br>
<br>
Does guam load the lib on demand ?<br>
Is there a config.sys options missing ?<br>
<br>
Perhaps someone knows.<br>
<br>
Rgds.<br>
Franz<br>
<br>
<br>
Am 23.06.17 um 20:05 schrieb Aleksander Machniak:<br>
</div>
<blockquote type="cite"
cite="mid:dcde6db9-e7d1-bc7e-26f9-91b4698ec897@kolabsys.com">
<pre wrap="">On 06/23/2017 05:39 PM, Franz Skale wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Same by me.
All i can find is this (/var/log/guam/console.log).
2017-06-23 17:36:56.249 [error] <0.23244.0> gen_server <0.23244.0>
terminated with reason: no function clause matching
kolab_guam_rule_filter_groupware:apply_to_client_message(<0.23287.0>,
<<"DONE\r\n">>, undefined,
{state,undefined,<<>>,false,<<>>,[<<"LIST">>,<<"list">>,<<"XLIST">>,<<"xlist">>,<<"LSUB">>,<<"lsub">>]})
line 32
</pre>
</blockquote>
<pre wrap="">
I think here's the fix for this one:
<a class="moz-txt-link-freetext" href="https://git.kolab.org/rG20808866e5a213e31cbd92d3c95da4547adadd0b">https://git.kolab.org/rG20808866e5a213e31cbd92d3c95da4547adadd0b</a>
I'm not sure it fixes read status issue. You properly found it's a guam
issue.
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>