Dovecot 2.2.18.2: Panic: file fs-api.c: line 756 (fs_copy): assertion failed: (src->fs == dest->fs)

Frank Mehrtens mehrtens at decoit.de
Tue Oct 27 12:26:17 UTC 2015


Hello,

a colleague found some strange messages in the logs:

Oct 27 13:08:43 mail postfix/qmgr[1618]: E83C8180F56: from=<user1 at domain.de>, size=298937, nrcpt=2 (queue active)
Oct 27 13:08:43 mail dovecot: lmtp(6740): Connect from local
Oct 27 13:08:43 mail dovecot: lmtp(user2 at domain.de): gYFbBEdpL1ZUGgAA0nA0dQ: message-id=<035901d110b0$3929bc20$ab7d3460$@domain.de>: saved mail to INBOX (from: user1 at domain.de, subject: WG: Matthias, size: 295392)
Oct 27 13:08:43 mail postfix/lmtp[6702]: E83C8180F56: to=<user2 at domain.de>, relay=mail.domain.de[private/dovecot-lmtp], delay=0.41, delays=0.36/0/0/0.05, dsn=2.0.0, status=sent (250 2.0.0 <user2 at domain.de> gYFbBEdpL1ZUGgAA0nA0dQ Saved)
Oct 27 13:08:43 mail dovecot: lmtp(mailarchiv at domain.de): Panic: file fs-api.c: line 756 (fs_copy): assertion failed: (src->fs == dest->fs)
Oct 27 13:08:43 mail dovecot: lmtp(mailarchiv at domain.de): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x7b53a) [0x7f10419e553a] -> /usr/lib64/dovecot/libdovecot.so.0(+0x7b5a6) [0x7f10419e55a6] -> /usr/lib64/dovecot/libdovecot.so.0(+0x281ea) [0x7f10419921ea] -> /usr/lib64/dovecot/libdovecot.so.0(+0x3163a) [0x7f104199b63a] -> /usr/lib64/dovecot/libdovecot-storage.so.0(sdbox_copy+0x4c4) [0x7f1041cbad94] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_copy+0x7a) [0x7f1041c9f37a] -> /usr/lib64/dovecot/libdovecot-lda.so.0(mail_deliver_save+0x1a7) [0x7f1041f891b7] -> /usr/lib64/dovecot/libdovecot-lda.so.0(mail_deliver+0x11b) [0x7f1041f8956b] -> dovecot/lmtp() [0x406922] -> dovecot/lmtp() [0x40730d] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7f10419f7fbb] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xaf) [0x7f10419f918f] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7f10419f8049] -> /usr/lib64/dovecot/libdovec
 ot.so.0(io_loop_run+0x38) [0x7f10419f80c8] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f1041997043] -> dovecot/lmtp(main+0x18b) [0x404dbb] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f10415f4d5d] -> dovecot/lmtp() [0x404b49]
Oct 27 13:08:43 mail dovecot: lmtp(mailarchiv at domain.de): Fatal: master: service(lmtp): child 6740 killed with signal 6 (core dumps disabled)
Oct 27 13:08:43 mail postfix/lmtp[6702]: E83C8180F56: to=<mailarchiv at domain.de>, relay=mail.domain.de[private/dovecot-lmtp], delay=0.41, delays=0.36/0/0/0.05, dsn=4.4.2, status=deferred (lost connection with mail.domain.de[private/dovecot-lmtp] while sending end of data -- message may be sent more than once)

Postfix always_bcc set to mailarchiv at domain.de.

[root at mail ~]# rpm -qa | grep dove
dovecot-ee-2.2.18.2-1.el6.x86_64
dovecot-ee-managesieve-0.4.8-1.el6.x86_64
dovecot-ee-pigeonhole-0.4.8-1.el6.x86_64

[root at mail ~]# doveconf -n
# 2.2.18.2 (866bffbafde7): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8 (73d4f6cd676a)
# OS: Linux 2.6.32-573.7.1.el6.x86_64 x86_64 CentOS release 6.7 (Final) ext4
auth_cache_negative_ttl = 0
auth_mechanisms = plain login
deliver_log_format = message-id=%m: %$ (from: %f, subject: %s, size: %p)
dict {
  quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext }

disable_plaintext_auth = no
imap_client_workarounds = tb-extra-mailbox-sep
mail_attachment_dir = /storage/mail/attachments
mail_attachment_hash = %{sha512}
mail_gid = vmail
mail_location = sdbox:/storage/mail/%d/%n
mail_plugins = acl quota
mail_uid = 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 index ihave duplicate
namespace {
  list = children
  location = sdbox:/storage/mail/%%d/%%n/
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared }

namespace {
  list = children
  location = maildir:/storage/mail/public:INDEX=/storage/mail/%d/%n/public
  prefix = public/
  separator = /
  subscriptions = no
  type = public }

namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox "Gelöschte Objekte" {
    special_use = \Trash
  }
  mailbox "Gesendete Objekte" {
    special_use = \Sent
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  subscriptions = yes
  type = private }

passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql }

plugin {
  acl = vfile
  acl_shared_dict = file:/storage/mail/shared-mailboxes
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve }

protocols = imap lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  } }

service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  } }

service imap-login {
  inet_listener imaps {
    ssl = yes
  } }

service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  } }

service pop3-login {
  inet_listener pop3s {
    ssl = yes
  } }

ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql }

protocol lmtp {
  mail_plugins = acl quota sieve }

protocol imap {
  mail_plugins = acl quota imap_acl imap_quota }

Best regards

Frank

--

DECOIT GmbH
Fahrenheitstraße 9
D-28359 Bremen

Tel.: +49-421-596064-0
Fax: +49-421-596064-09
E-Mail: info at decoit.de <mailto:info at decoit.de>
Web: http://www.decoit.de <http://www.decoit.de/>

Amtsgericht Bremen, HRB 21533
Geschäftsführer: Prof. Dr.-Ing. Kai-Oliver Detken


More information about the dovecot mailing list