Upgrade Dovecot from 2.1.17 to 2.2.13 lmtp child killed with signal 6

Ivan Jurišić ivan at jurisic.org
Thu Mar 24 07:20:58 UTC 2016


Hi Teemu,

I upgrade Dovecot on 2.2.22-1~auto+6 from repository
http://xi.dovecot.fi/debian/ and now all works well.

Thanks loot,
Ivan

On 03/22/2016 11:45 AM, Teemu Huovila wrote:
>
> On 22.03.2016 11:43, Ivan Jurišić wrote:
>> After upgrade Debian (Wheezy to Jessie) Dovecot version 2.1.17 is
>> upgraded to 2.2.13.
>> I have random crash of lmtp-a and I got lot message in queue. Any
>> solution for this problem?
> This looks like it is fixed by https://github.com/dovecot/core/commit/98449946caeaf8a3b413a0d93128315b158cbffb
> Please upgrade, if possible.
>
> br,
> Teemu Huovila
>
>> ---------- Postqueue ----------
>>
>> 7A5B77F72B  1160457 Tue Mar 22 10:10:15  ivan at jurisic.org
>> (delivery temporarily suspended: lost connection with
>> mail.jurisic.org[private/dovecot-lmtp] while sending end of data --
>> message may be sent more than once)
>>                                          ante.starcevic at gmail.com
>>
>> ---------- Log file ----------
>>
>> Mar 22 10:10:15 lmtp(23497, ivan at jurisic.org): Panic: file fs-api.c:
>> line 615 (fs_copy): assertion failed: (src->fs == dest->fs)
>>
>> Mar 22 10:10:15 lmtp(23497, ivan at jurisic.org): Error: Raw backtrace:
>> /usr/lib/dovecot/libdovecot.so.0(+0x6b6fe) [0x7f7647a8b6fe] ->
>> /usr/lib/dovecot/libdovecot.so.0(+0x6b7ec) [0x7f7647a8b7ec] ->
>> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f7647a428fb] ->
>> /usr/lib/dovecot/libdovecot.so.0(fs_copy+0x90) [0x7f7647a4c4a0] ->
>> /usr/lib/dovecot/libdovecot-storage.so.0(sdbox_copy+0x4e0)
>> [0x7f7647d3ec10] ->
>> /usr/lib/dovecot/modules/lib10_quota_plugin.so(+0xbaab) [0x7f764726aaab]
>> -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x7d)
>> [0x7f7647d7b01d] ->
>> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver_save+0x196)
>> [0x7f76480229d6] ->
>> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0xf3) [0x7f7648022e13]
>> -> dovecot/lmtp(+0x6171) [0x7f7648452171] ->
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x3f) [0x7f7647a9cd0f]
>> -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xf9)
>> [0x7f7647a9dd09] ->
>> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9)
>> [0x7f7647a9cd79] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
>> [0x7f7647a9cdf8] ->
>> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
>> [0x7f7647a47dc3] -> dovecot/lmtp(main+0x165) [0x7f76484509b5] ->
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f7647696b45]
>> -> dovecot/lmtp(+0x4a95) [0x7f7648450a95]
>>
>> Mar 22 10:10:15 lmtp(23497, ivan at jurisic.org): Fatal: master:
>> service(lmtp): child 23497 killed with signal 6 (core dumps disabled)
>>
>> ---------- Dovecot configuration  ----------
>>
>> # 2.2.13: /etc/dovecot/dovecot.conf
>> # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.3 ext4
>> auth_mechanisms = plain login
>> debug_log_path = /var/log/dovecot.debug
>> default_client_limit = 10000
>> default_process_limit = 1000
>> default_vsz_limit = 512 M
>> dict {
>>   quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
>> }
>> hostname = mail.jurisic.org
>> info_log_path = /var/log/dovecot.info
>> lda_mailbox_autocreate = yes
>> lda_mailbox_autosubscribe = yes
>> listen = *
>> log_path = /var/log/dovecot.log
>> mail_attachment_dir = /var/mail/vhosts/%d/attachment
>> mail_home = /var/mail/vhosts/%d/mail/%n
>> mail_location = sdbox:/var/mail/vhosts/%d/mail/%n
>> mail_plugins = " quota"
>> mail_privileged_group = vmail
>> managesieve_notify_capability = mailto
>> managesieve_sieve_capability = fileinto reject envelope
>> encoded-character vacation subaddress comparator-i;ascii-numeric
>> relational regex imap4flags copy include variables body enotify
>> environment mailbox date ihave
>> namespace inbox {
>>   inbox = yes
>>   location =
>>   mailbox Drafts {
>>     auto = subscribe
>>     special_use = \Drafts
>>   }
>>   mailbox Junk {
>>     auto = subscribe
>>     special_use = \Junk
>>   }
>>   mailbox Sent {
>>     auto = subscribe
>>     special_use = \Sent
>>   }
>>   mailbox "Sent Messages" {
>>     special_use = \Sent
>>   }
>>   mailbox Trash {
>>     auto = subscribe
>>     special_use = \Trash
>>   }
>>   prefix =
>> }
>> passdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> plugin {
>>   autocreate = Sent
>>   autocreate2 = Drafts
>>   autocreate3 = Junk
>>   autocreate4 = Trash
>>   autosubscribe = Sent
>>   autosubscribe2 = Drafts
>>   autosubscribe3 = Junk
>>   autosubscribe4 = Trash
>>   expire = Trash
>>   expire2 = Trash/*
>>   expire3 = Spam
>>   expire_dict = proxy::expire
>>   quota = dict:user::proxy::quota
>>   quota_rule = *:storage=102400
>>   quota_warning = storage=75%% quota-warning 75 %u
>>   quota_warning2 = storage=90%% quota-warning 90 %u
>>   sieve = ~/.dovecot.sieve
>>   sieve_dir = ~/sieve
>> }
>> postmaster_address = postmaster@%d
>> protocols = " imap lmtp sieve pop3"
>> service auth-worker {
>>   user = vmail
>> }
>> service auth {
>>   unix_listener /var/spool/postfix/private/auth {
>>     group = postfix
>>     mode = 0666
>>     user = postfix
>>   }
>>   unix_listener auth-userdb {
>>     mode = 0600
>>     user = vmail
>>   }
>>   user = dovecot
>> }
>> service dict {
>>   unix_listener dict {
>>     mode = 0660
>>     user = vmail
>>   }
>> }
>> service imap-login {
>>   process_min_avail = 4
>>   service_count = 0
>>   vsz_limit = 512 M
>> }
>> service imap {
>>   vsz_limit = 512 M
>> }
>> service lmtp {
>>   unix_listener /var/spool/postfix/private/dovecot-lmtp {
>>     group = postfix
>>     mode = 0600
>>     user = postfix
>>   }
>> }
>> service quota-warning {
>>   executable = script /opt/mail-old.sh
>>   unix_listener quota-warning {
>>     group = root
>>     mode = 0666
>>     user = root
>>   }
>>   user = root
>> }
>> ssl = required
>> ssl_cert = </etc/ssl/jurisic.org/jurisic.pem
>> ssl_cipher_list =
>> !aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!EDH:!ADH:!DSS:!RC4:HIGH:+3DES
>> ssl_key = </etc/ssl/jurisic.org/jurisic.key
>> ssl_prefer_server_ciphers = yes
>> ssl_protocols = TLSv1 !SSLv2 !SSLv3
>> userdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> protocol lmtp {
>>   mail_plugins = " quota sieve"
>> }
>> protocol lda {
>>   mail_plugins = " quota sieve"
>> }
>> protocol imap {
>>   mail_max_userip_connections = 20
>>   mail_plugins = " quota imap_quota"
>> }
>> protocol pop3 {
>>   mail_max_userip_connections = 20
>>   mail_plugins = " quota quota"
>> }
>>



More information about the dovecot mailing list