Thunderbird issues with read status

Franz Skale i.bin at dah.am
Fri Jun 23 21:14:39 CEST 2017


Hi Aleksander,
that's weird because the version (debian 8 kolab16) is 0.9.2.1
A grep in the source package shows:
grep -n apply_to_client_message * -r
src/kolab_guam_rule.erl:28:-callback apply_to_client_message(ImapSession 
:: pid(), Command :: binary(), SplitBinary :: { Tag :: binary(), Command 
:: binary(), Data :: binary() }, State :: any()) ->
src/kolab_guam_session.erl:302:    { Data, NewState } = 
Module:apply_to_client_message(ImapSession, ClientData, SplitCommand, 
RuleState),
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]).
*src/rules/kolab_guam_rule_filter_groupware.erl:32:apply_to_client_message(ImapSession, 
Buffer, { Tag, Command, Data }, State) ->*
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),
test/kolab_guam_rules_SUITE.erl:82:    { _, ReadyState } = 
kolab_guam_rule_filter_groupware:apply_to_client_message(<<"7 list 
(subscribed) \"\" \"*\" return (special-use)">>, State),
So the patch should be applied in this particular version.
Hm.
Doing a grep -r three libs show the function:
Binary file lib/kolab_guam-0.9.2/ebin/kolab_guam_rule.beam matches
Binary file 
lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam matches
Binary file lib/kolab_guam-0.9.2/ebin/kolab_guam_session.beam matches

strings 
lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam|grep -i 
apply_to_client_message
apply_to_client_message

But the lib is NOT active:
fuser lib/kolab_guam-0.9.2/ebin/kolab_guam_rule_filter_groupware.beam
Nothing returned.

Does guam load the lib on demand ?
Is there a config.sys options missing ?

Perhaps someone knows.

Rgds.
Franz


Am 23.06.17 um 20:05 schrieb Aleksander Machniak:
> On 06/23/2017 05:39 PM, Franz Skale wrote:
>> 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
> I think here's the fix for this one:
> https://git.kolab.org/rG20808866e5a213e31cbd92d3c95da4547adadd0b
>
> I'm not sure it fixes read status issue. You properly found it's a guam
> issue.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20170623/b5a37f5d/attachment.html>


More information about the users mailing list