Panic: file mdbox-save.c: line 337: unreached
Leon Kyneur
leon at f-m.fm
Sun Jul 10 14:44:21 UTC 2016
Recently updated to 2.2.25. Noticed a migration script I've been
previously running fine started giving me the errors below.
Remove server doesn't log any failure. doveconf -n attached.
+ /bin/doveadm -o mail_fsync=never backup -R -u user at domain.com imapc:
dsync(user at domain.com): Panic: file mdbox-save.c: line 337: unreached
dsync(user at domain.com): Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0x8d52e) [0x7f58e6da052e] ->
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_ha
ndler+0x2a) [0x7f58e6da059a] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f58e6d3f1b6] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0x5b157) [0x7f58e7080157]
-> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xbfdbf) [0x7f58e70e4dbf]
->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit_full+0x9d)
[0x7f58e
710043d] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(index_transaction_commit+0x107)
[0x7f58e70e5337] -> /usr/lib64/dovecot/lib20_zlib_plugin.so(+0x3163)
[0x7f58e5f29
163] -> /usr/lib64/dovecot/lib10_quota_plugin.so(+0xc703)
[0x7f58e613d703] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit_get_changes+0x51)
[0
x7f58e7069631] -> /bin/doveadm [user at domain.com INBOX
import:650/674](dsync_mailbox_import_deinit+0xf8) [0x7f58e7a12898] ->
/bin/doveadm [user at domain.com IN
BOX import:650/674](+0x41bbf) [0x7f58e7a0cbbf] -> /bin/doveadm
[user at domain.com INBOX import:650/674](dsync_brain_sync_mails+0x723)
[0x7f58e7a0d433] -> /bin/dovea
dm [user at domain.com INBOX import:650/674](dsync_brain_run+0x5f8)
[0x7f58e7a08c78] -> /bin/doveadm [user at domain.com INBOX
import:650/674](+0x27521) [0x7f58e7
9f2521] -> /bin/doveadm [user at domain.com INBOX import:650/674](+0x2929f)
[0x7f58e79f429f] -> /bin/doveadm [user at domain.com INBOX
import:650/674](+0x29d8d) [0x7f58e79f4d8d] -> /bin/doveadm
[user at domain.com INBOX import:650/674](doveadm_mail_try_run+0x215)
[0x7f58e79f56f5] -> /bin/doveadm [user at domain.com INBOX
import:650/674](main+0x455) [0x7f58e79e57f5] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f58e6973b15] ->
/bin/doveadm [user at domain.com INBOX import:650/674](+0x1a96d)
[0x7f58e79e596d]
/root/migrate_code/migrate_mailbox_eftel.sh: line 31: 48637
Aborted /bin/doveadm -o mail_fsync=never backup -R -u
$USERNAME imapc:
+ RETCODE=134
Regards
Leon
-------------- next part --------------
# 2.2.25 (7be1766): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.15 (97b3da0)
# OS: Linux 3.10.0-327.4.5.el7.x86_64 x86_64 CentOS Linux release 7.2.1511 (Core)
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&+
debug_log_path = /var/log/dovecot-debug.log
imapc_features = rfc822.size fetch-headers fetch-fix-broken-mails
imapc_host = 192.168.90.4
imapc_master_user = migrate
imapc_password = # hidden, use -P to show it
imapc_user = %u
lmtp_proxy = yes
log_path = /var/log/dovecot.log
login_trusted_networks = 192.168.10.0/24
mail_gid = vmail
mail_location = mdbox:%h/mdbox:ALT=/altstorage%h/mdbox
mail_plugins = quota zlib
mail_prefetch_count = 50
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 mime foreverypart extracttext
mdbox_rotate_size = 10 M
namespace {
hidden = yes
list = no
location = pop3c:
prefix = POP3-MIGRATION-NS/
}
namespace inbox {
inbox = yes
location =
mailbox "Deleted Messages" {
auto = no
autoexpunge = 90 days
special_use = \Trash
}
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
autoexpunge = 90 days
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Spam {
auto = no
autoexpunge = 90 days
special_use = \Junk
}
mailbox Trash {
autoexpunge = 90 days
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = /etc/dovecot/dovecot-ldap-old.conf.ext
driver = ldap
result_failure = continue-fail
result_internalfail = continue-fail
result_success = continue-ok
skip = authenticated
}
passdb {
args = /etc/dovecot/dovecot-ldap-new.conf.ext
driver = ldap
result_failure = return-fail
result_internalfail = return-fail
result_success = continue-ok
skip = authenticated
}
plugin {
pop3_migration_ignore_missing_uidls = yes
pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX
quota = dict:User quota:noenforcing:file:%h/dovecot-quota
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.5.2 Mailbox is full
quota_status_success = DUNNO
quota_warning = storage=99%% quota-warning 99 %u
quota_warning2 = storage=95%% quota-warning 95 %u
quota_warning3 = storage=80%% quota-warning 80 %u
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /etc/dovecot/sieve/default.sieve
stats_refresh = 60 secs
zlib_save = gz
zlib_save_level = 6
}
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, uidls=%u
pop3c_host = 192.168.90.4
pop3c_password = # hidden, use -P to show it
protocols = imap pop3 lmtp sieve
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0660
user = vmail
}
}
service dict {
unix_listener dict {
group = vmail
mode = 0660
user = vmail
}
}
service lmtp {
inet_listener lmtp {
address = 192.168.10.221
port = 24
}
process_min_avail = 5
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service quota-status {
client_limit = 1
executable = quota-status -p postfix
inet_listener {
port = 12340
}
service_count = 0
}
service quota-warning {
executable = script /usr/local/bin/dovecot-quota-warning.sh
unix_listener quota-warning {
user = vmail
}
}
service stats {
fifo_listener stats-mail {
mode = 0600
user = vmail
}
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = /etc/dovecot/dovecot-sql-old.conf.ext
driver = sql
result_internalfail = return-fail
result_success = continue-ok
skip = notfound
}
userdb {
args = /etc/dovecot/dovecot-ldap-old.conf.ext
driver = ldap
result_failure = continue-fail
result_internalfail = continue-fail
result_success = continue-ok
skip = found
}
userdb {
args = /etc/dovecot/dovecot-ldap-new.conf.ext
driver = ldap
result_success = continue-ok
skip = found
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = quota zlib sieve
}
protocol imap {
mail_plugins = quota zlib imap_quota stats
}
protocol pop3 {
mail_plugins = quota zlib
}
protocol doveadm {
mail_plugins = quota zlib pop3_migration
}
More information about the dovecot
mailing list