Problems connection kolab sever with smtp or imap

Roland Kolb roland.kolb at ib-ulherr.de
Fri Feb 8 18:19:24 CET 2019


Hello,

we have some users they cannot connect to the kolab server (Version 16
with guam 0.9.4) with their clients (Thunderbird, eM, ios, android,
...). All other users with the same clients and the same configuration
have no problems.

When they try to get messages or send messages it fails. They cannot
connect to the kolab server. When they use the kolab web client it works
fine.

I checked the message.log and the crash.log

E.g. the folder "Calendar/" contains only the files cyrus.cache,
cyrus.header, cyrus.index

Any idea what is going wrong?

Thank you

Roland


/var/log/messages
Feb  8 10:35:49 kolab guam: 10:35:49.635 [error] Supervisor
{<0.393.0>,kolab_guam_listener} had child session started with
{kolab_guam_session,start_link,undefined} at <0.5893.18> exit with
reason bad argument in call to binary:match(2013, <<"Calendar/">>) in
kolab_guam_rule_filter_groupware:in_blacklist/2 line 149 in context
child_terminated
Feb  8 10:37:55 kolab guam: 10:37:55.610 [error] gen_server <0.6109.18>
terminated with reason: bad argument in call to binary:match(2013,
<<"Calendar/">>) in kolab_guam_rule_filter_groupware:in_blacklist/2 line 149
Feb  8 10:37:55 kolab guam: 10:37:55.611 [error] CRASH REPORT Process
<0.6109.18> with 0 neighbours exited with reason: bad argument in call
to binary:match(2013, <<"Calendar/">>) in
kolab_guam_rule_filter_groupware:in_blacklist/2 line 149
Feb  8 10:37:55 kolab guam: 10:37:55.611 [error] Supervisor
{<0.393.0>,kolab_guam_listener} had child session started with
{kolab_guam_session,start_link,undefined} at <0.6109.18> exit with
reason bad argument in call to binary:match(2013, <<"Calendar/">>) in
kolab_guam_rule_filter_groupware:in_blacklist/2 line 149 in context
child_terminated
Feb  8 10:37:56 kolab guam: 10:37:56.295 [error] gen_server <0.6022.18>
terminated with reason: bad argument in call to binary:match(2013,
<<"Calendar/">>) in kolab_guam_rule_filter_groupware:in_blacklist/2 line 149
Feb  8 10:37:56 kolab guam: 10:37:56.296 [error] CRASH REPORT Process
<0.6022.18> with 0 neighbours exited with reason: bad argument in call
to binary:match(2013, <<"Calendar/">>) in
kolab_guam_rule_filter_groupware:in_blacklist/2 line 149
Feb  8 10:37:56 kolab guam: 10:37:56.296 [error] Supervisor
{<0.393.0>,kolab_guam_listener} had child session started with
{kolab_guam_session,start_link,undefined} at <0.6022.18> exit with
reason bad argument in call to binary:match(2013, <<"Calendar/">>) in
kolab_guam_rule_filter_groupware:in_blacklist/2 line 149 in context
child_terminated


/var/log/guam/crash.log
2019-02-08 10:37:55 =CRASH REPORT====
  crasher:
    initial call: kolab_guam_session:init/1
    pid: <0.6109.18>
    registered_name: []
    exception exit:
{{badarg,[{binary,match,[2013,<<"Calendar/">>],[]},{kolab_guam_rule_filter_groupware,in_blacklist,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,149}]},{kolab_guam_rule_filter_groupware,filter_on_details,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,136}]},{kolab_guam_rule_filter_groupware,filter_folder,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,103}]},{kolab_guam_rule_filter_groupware,filter_folders,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,99}]},{kolab_guam_rule_filter_groupware,filter_folders,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,92}]},{kolab_guam_session,apply_next_rule_serverside,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,278}]},{kolab_guam_session,handle_info,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,103}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,826}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
    ancestors: [<0.393.0>,kolab_guam_sup,<0.391.0>]
    messages: []
    links: [<0.393.0>,<0.6111.18>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 4185
    stack_size: 27
    reductions: 6346
  neighbours:
2019-02-08 10:37:55 =SUPERVISOR REPORT====
     Supervisor: {<0.393.0>,kolab_guam_listener}
     Context:    child_terminated
     Reason:    
{badarg,[{binary,match,[2013,<<"Calendar/">>],[]},{kolab_guam_rule_filter_groupware,in_blacklist,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,149}]},{kolab_guam_rule_filter_groupware,filter_on_details,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,136}]},{kolab_guam_rule_filter_groupware,filter_folder,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,103}]},{kolab_guam_rule_filter_groupware,filter_folders,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,99}]},{kolab_guam_rule_filter_groupware,filter_folders,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,92}]},{kolab_guam_session,apply_next_rule_serverside,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,278}]},{kolab_guam_session,handle_info,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,103}]}]}
     Offender:  
[{pid,<0.6109.18>},{id,session},{mfargs,{kolab_guam_session,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]

2019-02-08 10:37:56 =ERROR REPORT====
** Generic server <0.6022.18> terminating
** Last message in was {imap_server_response,<<"* XLIST (\\Noinferiors
\\Inbox) \"/\" INBOX\r\n* XLIST (\\HasNoChildren) \"/\" \"000 xxxx
Projekte\"\r\n* XLIST (\\HasNoChildren) \"/\" \"001 klein
Projekte\"\r\n* XLIST (\\HasNoChildren) \"/\" \"201251 Youfarm\"\r\n*
XLIST (\\HasChildren) \"/\" 2013\r\n* XLIST (\\HasChildren) \"/\"
2014\r\n* XLIST (\\HasChildren) \"/\" 2015\r\n* XLIST (\\HasChildren)
\"/\" 2016\r\n* XLIST (\\HasChildren) \"/\" 2017\r\n* XLIST
(\\HasChildren) \"/\" 2018\r\n* XLIST (\\HasChildren) \"/\" 2019\r\n*
XLIST (\\HasNoChildren) \"/\" Archive\r\n* XLIST (\\HasChildren) \"/\"
Archives\r\n* XLIST (\\HasChildren) \"/\" B&APw-ro\r\n* XLIST
(\\HasNoChildren) \"/\" Calendar\r\n* XLIST (\\HasNoChildren) \"/\"
Configuration\r\n* XLIST (\\HasChildren) \"/\" Contacts\r\n* XLIST
(\\HasNoChildren) \"/\" Dominic\r\n* XLIST (\\HasNoChildren) \"/\"
Drafts\r\n* XLIST (\\HasNoChildren) \"/\" Eyleen\r\n* XLIST
(\\HasNoChildren) \"/\" Files\r\n* XLIST (\\HasNoChildren) \"/\"
Freebusy\r\n* XLIST (\\HasNoChildren) \"/\" \"House Burger\"\r\n* XLIST
(\\HasNoChildren) \"/\" group-Calender\r\n* XLIST (\\HasNoChildren)
\"/\" Journal\r\n* XLIST (\\HasNoChildren) \"/\" master thesis\r\n*
XLIST (\\HasNoChildren) \"/\" Notes\r\n* XLIST (\\HasNoChildren) \"/\"
london\r\n* XLIST (\\HasNoChildren) \"/\" Sent\r\n* XLIST
(\\HasNoChildren) \"/\" \"Sent Messages\"\r\n* XLIST (\\HasNoChildren)
\"/\" Spam\r\n* XLIST (\\HasNoChildren) \"/\" Tasks\r\n* XLIST
(\\HasChildren) \"/\" Trash\r\n* XLIST (\\NonExistent \\HasChildren)
\"/\" \"Other Users\"\r\n* XLIST (\\NonExistent \\HasNoChildren) \"/\"
\"Shared Folders/Shared Folders\"\r\n5 OK Completed (0.010 secs 236
calls)\r\n">>}
** When Server state ==
{state,undefined,{sslsocket,{gen_tcp,#Port<0.289929>,tls_connection,undefined},<0.6171.18>},<0.393.0>,[{certfile,"/etc/pki/tls/certs/STAR_xxxxxx.crt"},{cacertfile,"/etc/pki/tls/certs/xxxxxx.ca-chain.pem"},{keyfile,"/etc/pki/tls/private/xxxxxx.key"}],false,true,[{host,"127.0.0.1"},{port,9993},{tls,true}],[{kolab_guam_rule_filter_groupware,{state,[{<<"Calendar">>,<<"Calendar/">>},{<<"Other
Users/max.mustermann/Freebusy">>,<<"Other
Users/max.mustermann/Freebusy/">>},{<<"Other
Users/claudia.mustermann/Freebusy">>,<<"Other
Users/claudia.mustermann/Freebusy/">>},{<<"Other
Users/franz.maier/Freebusy">>,<<"Other
Users/franz.maier/Freebusy/">>},{<<"Shared
Folders/shared/xxx-contacts">>,<<"Shared
Folders/shared/xxx-contacts/">>},{<<"Shared
Folders/shared/xxxGoodNotes">>,<<"Shared
Folders/shared/xxxGoodNotes/">>}],<<"5">>,true,<<>>,[<<"LIST">>,<<"list">>,<<"XLIST">>,<<"xlist">>,<<"LSUB">>,<<"lsub">>]}}],[],<0.6163.18>,undefined,undefined,<<>>,{<<"5">>,<<"xlist">>,<<"\"\"
\"%\"">>},reset_for_next_client_command}
** Reason for termination ==
**
{badarg,[{binary,match,[2013,<<"Calendar/">>],[]},{kolab_guam_rule_filter_groupware,in_blacklist,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,149}]},{kolab_guam_rule_filter_groupware,filter_on_details,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,136}]},{kolab_guam_rule_filter_groupware,filter_folder,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,103}]},{kolab_guam_rule_filter_groupware,filter_folders,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,99}]},{kolab_guam_rule_filter_groupware,filter_folders,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,92}]},{kolab_guam_session,apply_next_rule_serverside,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,278}]},{kolab_guam_session,handle_info,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,103}]}]}
2019-02-08 10:37:56 =CRASH REPORT====
  crasher:
    initial call: kolab_guam_session:init/1
    pid: <0.6022.18>
    registered_name: []
    exception exit:
{{badarg,[{binary,match,[2013,<<"Calendar/">>],[]},{kolab_guam_rule_filter_groupware,in_blacklist,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,149}]},{kolab_guam_rule_filter_groupware,filter_on_details,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,136}]},{kolab_guam_rule_filter_groupware,filter_folder,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,103}]},{kolab_guam_rule_filter_groupware,filter_folders,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,99}]},{kolab_guam_rule_filter_groupware,filter_folders,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,92}]},{kolab_guam_session,apply_next_rule_serverside,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,278}]},{kolab_guam_session,handle_info,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,103}]}]},[{gen_server,terminate,7,[{file,"gen_server.erl"},{line,826}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
    ancestors: [<0.393.0>,kolab_guam_sup,<0.391.0>]
    messages: []
    links: [<0.393.0>,<0.6163.18>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 4185
    stack_size: 27
    reductions: 6346
  neighbours:
2019-02-08 10:37:56 =SUPERVISOR REPORT====
     Supervisor: {<0.393.0>,kolab_guam_listener}
     Context:    child_terminated
     Reason:    
{badarg,[{binary,match,[2013,<<"Calendar/">>],[]},{kolab_guam_rule_filter_groupware,in_blacklist,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,149}]},{kolab_guam_rule_filter_groupware,filter_on_details,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,136}]},{kolab_guam_rule_filter_groupware,filter_folder,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,103}]},{kolab_guam_rule_filter_groupware,filter_folders,3,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,99}]},{kolab_guam_rule_filter_groupware,filter_folders,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl"},{line,92}]},{kolab_guam_session,apply_next_rule_serverside,4,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,278}]},{kolab_guam_session,handle_info,2,[{file,"/home/abuild/rpmbuild/BUILD/guam-0.9.4/_build/default/lib/kolab_guam/src/kolab_guam_session.erl"},{line,103}]}]}
     Offender:  
[{pid,<0.6022.18>},{id,session},{mfargs,{kolab_guam_session,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]




More information about the users mailing list