<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>You could try checking with gdb what the values are that are passed in the failing assert, maybe it provides clues. </div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG" <a.hoepner@ibased.de> </div><div>Date: 18/09/2018 19:57 (GMT+02:00) </div><div>To: dovecot@dovecot.org </div><div>Subject: Re: dovecot (2.2.13) panic on imap-login from iphone se </div><div><br></div></div>here is our config: (doveconf -n)<br><br># 2.2.13: /etc/dovecot/dovecot.conf<br># OS: Linux 3.6.11-gentoo x86_64 Gentoo Base System release 2.2<br>auth_cache_size = 10 M<br>auth_mechanisms = plain login<br>default_client_limit = 1024<br>default_process_limit = 256<br>hostname = HOSTNAME<br>imap_client_workarounds = delay-newmail tb-extra-mailbox-sep<br>info_log_path = /var/log/dovecot.log<br>listen = *<br>mail_location = maildir:~/Maildir<br>mail_plugins = quota acl zlib<br>mail_privileged_group = mail<br>managesieve_notify_capability = mailto<br>managesieve_sieve_capability = fileinto reject envelope<br>encoded-character vacation subaddress comparator-i;ascii-numeric<br>relational regex imap4flags copy include variables body enotify<br>environment mailbox date ihave duplicate<br>namespace {<br> list = yes<br> location =<br>maildir:/home/shared/Maildir:CONTROL=~/Maildir/control/shared:INDEX=~/Maildir/index/shared<br> prefix = Shared<br> separator = /<br> subscriptions = no<br> type = public<br>}<br>namespace inbox {<br> inbox = yes<br> location =<br> mailbox Drafts {<br> special_use = \Drafts<br> }<br> mailbox Junk {<br> special_use = \Junk<br> }<br> mailbox Sent {<br> special_use = \Sent<br> }<br> mailbox "Sent Messages" {<br> special_use = \Sent<br> }<br> mailbox Trash {<br> special_use = \Trash<br> }<br> prefix =<br> separator = /<br> type = private<br>}<br>passdb {<br> args = *<br> driver = pam<br>}<br>passdb {<br> driver = passwd<br>}<br>passdb {<br> driver = shadow<br>}<br>plugin {<br> acl = vfile<br> autocreate = Trash<br> autocreate2 = Junk<br> autocreate3 = Sent<br> autocreate4 = Drafts<br> quota = maildir:User quota<br> quota_rule = *:storage=3800M<br> quota_rule2 = Trash:storage=+500M<br> quota_warning = storage=95%% quota-warning 95 %u<br> quota_warning2 = storage=85%% quota-warning 85 %u<br> sieve = ~/.dovecot.sieve<br> sieve_dir = ~/sieve<br>}<br>postmaster_address = ADMIN-EMAIL<br>protocols = imap lmtp sieve<br>service auth {<br> unix_listener /var/spool/postfix/private/auth {<br> mode = 0666<br> }<br>}<br>service imap-login {<br> inet_listener imaps {<br> ssl = yes<br> }<br>}<br>service managesieve-login {<br> inet_listener sieve {<br> port = 4190<br> }<br>}<br>service quota-warning {<br> executable = script /usr/bin/dovecot-quota-warning.sh<br> user = dovecot<br>}<br>ssl_ca = </etc/ssl/ssl.pem<br>ssl_cert = </etc/ssl/ssl.crt<br>ssl_key = </etc/ssl/ssl.key<br>ssl_protocols = !SSLv2 !SSLv3<br>userdb {<br> driver = passwd<br>}<br>protocol lmtp {<br> mail_fsync = optimized<br>}<br>protocol lda {<br> mail_fsync = optimized<br> mail_plugins = sieve quota<br>}<br>protocol imap {<br> mail_plugins = quota acl zlib imap_quota imap_acl<br>}<br><br>##############<br><br># doveadm user USERNAME<br>field value<br>uid 950<br>gid 501<br>home /home/USERNAME<br>mail maildir:~/Maildir<br>system_groups_user USERNAME<br><br>###############<br><br>Hope this helps.<br><br>Andre<br><br><br><br><br>Am 18.09.2018 um 18:49 schrieb Aki Tuomi:<br>> Please keep replies on list. Can you provide doveconf -n and output of<br>> doveadm user victim ?<br>> <br>> ---<br>> Aki Tuomi<br>> Dovecot oy<br>> <br>> -------- Original message --------<br>> From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG"<br>> <a.hoepner@ibased.de><br>> Date: 18/09/2018 19:13 (GMT+02:00)<br>> To: Aki Tuomi <aki.tuomi@dovecot.fi><br>> Subject: Re: dovecot (2.2.13) panic on imap-login from iphone se<br>> <br>> <br>> Sorry. I think upgrade is not possible because it is a very outdated<br>> gentoo installation and im not abe to compile without compiling the<br>> whole source stack of glibc and all other dependencies.<br>> <br>> It is planned to replace the server in the next 8 weeks with a new<br>> system, but this 8 weeks the server must do the work.<br>> <br>> Andre<br>> <br>> <br>> Am 18.09.2018 um 17:09 schrieb Aki Tuomi:<br>>> Can you upgrade to 2.2.36 or 2.3.2.1 and reproduce this issue? 2.2.13 is<br>>> quite old.<br>>><br>>><br>>><br>>> ---<br>>> Aki Tuomi<br>>> Dovecot oy<br>>><br>>> -------- Original message --------<br>>> From: "Andre Hoepner - i.based: Systemhaus GmbH + Co. KG"<br>>> <a.hoepner@ibased.de><br>>> Date: 18/09/2018 16:17 (GMT+02:00)<br>>> To: dovecot@dovecot.org<br>>> Subject: dovecot (2.2.13) panic on imap-login from iphone se<br>>><br>>><br>>> Hi to all,<br>>><br>>> we have trouble with one user account, when using imap-login with iphone<br>>> se. The user can login and use the account from webmail (roundcube) and<br>>> from thunderbird without any errors and without any restrictions.<br>>><br>>> But if we use the account on an iphone se and try to use imap based<br>>> emails, there comes the following error (look at the end of the mail).<br>>> I have no idea, what for an error it is. Same account on an iphone 5<br>>> works without any trouble.<br>>><br>>> We have delete the homedir of the user and also recreated the user with<br>>> new uid and new password. Webmail and thunderbird are fine, but if we<br>>> use the iphone se we got this error.<br>>><br>>> Are there any known issues with this combination?<br>>> Thanks for your help.<br>>><br>>> best regardings<br>>> Andre Hoepner<br>>><br>>> ---8<----<br>>> # HOST = hostname of the system; USER = username that gets this error<br>>><br>>> Sep 18 12:46:02 HOST dovecot: imap(USER): Panic: file mailbox-list.c:<br>>> line 1125<br>>> (mailbox_list_try_mkdir_root): assertion failed: (strncmp(root_dir,<br>>> path, strlen(root_dir)) == 0)<br>>><br>>> Sep 18 12:46:02 HOST dovecot: imap(USER): Error: Raw backtrace:<br>>> /usr/lib64/dovecot/libdovecot.so.0(+0x6552e) [0x7f4333e0452e]<br>>> -> /usr/lib64/dovecot/libdovecot.so.0(+0x65596) [0x7f4333e04596]<br>>> -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f4333dc423e]<br>>> -><br>>><br>> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_list_try_mkdir_root+0x469)<br>>> [0x7f43340d3a5a]<br>>> -><br>>> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_list_mkdir_root+0x15)<br>>> [0x7f43340d3ac0]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x570cb) [0x7f43340c40cb]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(maildir_set_deleted+0x11a)<br>>> [0x7f43340c465c]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x563d5) [0x7f43340c33d5]<br>>> -><br>>> /usr/lib64/dovecot/libdovecot-storage.so.0(maildir_uidlist_sync_init+0x33)<br>>> [0x7f43340c34f7]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x517ac) [0x7f43340be7ac]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x51c59) [0x7f43340bec59]<br>>> -><br>>> /usr/lib64/dovecot/libdovecot-storage.so.0(maildir_storage_sync_init+0xb5)<br>>> [0x7f43340bef35]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x2b)<br>>> [0x7f43340cc405]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync+0x27)<br>>> [0x7f43340cc4f1]<br>>> -><br>>> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x2f)<br>>> [0x7f43340f1f6a]<br>>> -> /usr/lib64/dovecot/lib01_acl_plugin.so(+0xdff9) [0x7f43335ffff9]<br>>> -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)<br>>> [0x7f43340cd36c]<br>>> -> dovecot/imap(imap_status_get+0x5f) [0x41dc1d]<br>>> -> dovecot/imap() [0x410cf9]<br>>> -> dovecot/imap(cmd_list_full+0x49d) [0x411297]<br>>> -> dovecot/imap(command_exec+0x37) [0x417f20]<br>>> -> dovecot/imap() [0x4170c9]<br>>> -> dovecot/imap() [0x417174]<br>>> -> dovecot/imap(client_handle_input+0x106) [0x417400]<br>>> -> dovecot/imap(client_input+0x72) [0x417768]<br>>> -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x3f)<br>> [0x7f4333e13536]<br>>> -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd1)<br>>> [0x7f4333e142e6]<br>>> -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x9)<br>>> [0x7f4333e13598]<br>>><br>>> Sep 18 12:46:02 HOST dovecot: imap(USER): Fatal: master: service(imap):<br>>> child 32253<br>>> killed with signal 6 (core dumps disabled)<br>>> ---8<----<br>> <br>> -- <br>> <br>> Sie möchten wissen, warum wir die Richtigen für Ihr<br>> Unternehmen sind? Lesen Sie hier ...<br>> http://www.11-gute-gruende.de<br>> <br>> <br>> i.based: Systemhaus GmbH & Co. KG<br>> Langenstrasse 38<br>> 18439 Stralsund<br>> Deutschland<br>> <br>> http://www.ibased.de<br>> a.hoepner@ibased.de<br>> <br>> fon: 03831-28944-0<br>> fax: 03831-28944-29<br>> <br>> Registergericht:<br>> HRA 2072 Amtsgericht Stralsund<br>> <br>> Geschäftsführung:<br>> i.based: Systemhaus Verwaltungs GmbH<br>> <br>> Steuer-Nr: 082/187/38401<br>> USt.-ID: DE254322988<br>> <br>> persönlich haftend:<br>> i.based: Systemhaus Verwaltungs-<br>> GmbH, Stralsund<br>> HRB 7189 Amtsgericht Stralsund<br>> <br>> vertreten durch:<br>> André Höpner, Mathias Waldeck<br>> <br>> https://www.linkedin.com/in/andre-hoepner/<br>> https://www.xing.com/hp/andre_hoepner<br><br>-- <br><br>Sie möchten wissen, warum wir die Richtigen für Ihr<br>Unternehmen sind? Lesen Sie hier ...<br>http://www.11-gute-gruende.de<br><br><br>i.based: Systemhaus GmbH & Co. KG<br>Langenstrasse 38<br>18439 Stralsund<br>Deutschland<br><br>http://www.ibased.de<br>a.hoepner@ibased.de<br><br>fon: 03831-28944-0<br>fax: 03831-28944-29<br><br>Registergericht:<br>HRA 2072 Amtsgericht Stralsund<br><br>Geschäftsführung:<br>i.based: Systemhaus Verwaltungs GmbH<br><br>Steuer-Nr: 082/187/38401<br>USt.-ID: DE254322988<br><br>persönlich haftend:<br>i.based: Systemhaus Verwaltungs-<br>GmbH, Stralsund<br>HRB 7189 Amtsgericht Stralsund<br><br>vertreten durch:<br>André Höpner, Mathias Waldeck<br><br>https://www.linkedin.com/in/andre-hoepner/<br>https://www.xing.com/hp/andre_hoepner<br></body></html>