[Dovecot] Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed

Anton Dollmaier antondollmaier at aditsystems.de
Wed Dec 23 12:29:00 EET 2009


Hi all,


after inserting another sieve-rule, I get the following backtrace on 
deliver.

The mail gets delivered into the Mailbox, but as deliver does not exit 
with 0, postfix bounces the mail.

The additional rule is the same as all others in my .dovecot-sieve:

> require ["fileinto", "include"];
>
> if header :contains ["From"] ["@terra.a1a-server.de"] {
>        fileinto "Server.ADITSystems.terra";
 > (...)
> } elsif header :contains ["From"] ["@neon.a1a-server.de"] {
>        fileinto "Server.ADITSystems.neon";
> } else {
>         include :global "shared.sieve";
>         fileinto "Server.Serveradmin";
> }



> Dec 23 11:23:37 deliver(serveradmin at aditsystems.de): Panic: file
> maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges):
> assertion failed: (recs[i]->uid < rec->uid)
> Dec 23 11:23:37 deliver(serveradmin at aditsystems.de): Error: Raw backtrace:
> /usr/lib/dovecot/deliver [0x80e52a1] ->
> /usr/lib/dovecot/deliver(default_fatal_handler+0x3a) [0x80e53ca] ->
> /usr/lib/dovecot/deliver [0x80e4c79] -> /usr/lib/dovecot/deliver
> [0x807e097] ->
> /usr/lib/dovecot/deliver(maildir_uidlist_sync_finish+0x29f)
> [0x807f10f] ->
> /usr/lib/dovecot/deliver(maildir_uidlist_sync_deinit+0xa8)
> [0x807f458] ->
> /usr/lib/dovecot/deliver(maildir_transaction_save_commit_pre+0x399)
> [0x80820c9] -> /usr/lib/dovecot/deliver [0x807bbb2] ->
> /usr/lib/dovecot/deliver(index_transaction_commit+0x4e) [0x80a472e]
> -> /usr/lib/dovecot/deliver(mailbox_transaction_commit+0x26)
> [0x80a9716] -> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so
> [0xb7d30b84] ->
> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so(sieve_result_execute+0x244)
> [0xb7d2a024] ->
> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so(sieve_execute+0x87)
> [0xb7d37fa7] -> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so
> [0xb7d1bcde] -> /usr/lib/dovecot/deliver(main+0x1108) [0x8061618] ->
> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7d8a455] ->
> /usr/lib/dovecot/deliver [0x805f3c1]


Following output of "dovecot -n":


> # 1.2.8: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.26-2-686-bigmem i686 Debian 5.0.3
> protocols: imap imaps managesieve pop3 pop3s
> listen: [::], *
> ssl_cert_file: /etc/dovecot/dovecot.pem
> ssl_key_file: /etc/dovecot/dovecot.pem
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/lib/dovecot/imap-login
> login_executable(imap): /usr/lib/dovecot/imap-login
> login_executable(pop3): /usr/lib/dovecot/pop3-login
> login_executable(managesieve): /usr/lib/dovecot/managesieve-login
> login_process_per_connection: no
> login_processes_count: 5
> mail_privileged_group: vmail
> mail_location: maildir:~/Maildir
> mail_executable(default): /usr/lib/dovecot/imap
> mail_executable(imap): /usr/lib/dovecot/imap
> mail_executable(pop3): /usr/lib/dovecot/pop3
> mail_executable(managesieve): /usr/lib/dovecot/managesieve
> mail_plugins(default): autocreate expire quota imap_quota
> mail_plugins(imap): autocreate expire quota imap_quota
> mail_plugins(pop3):
> mail_plugins(managesieve):
> mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
> mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
> imap_client_workarounds(default): delay-newmail tb-extra-mailbox-sep
> imap_client_workarounds(imap): delay-newmail tb-extra-mailbox-sep
> imap_client_workarounds(pop3):
> imap_client_workarounds(managesieve):
> pop3_save_uidl(default): no
> pop3_save_uidl(imap): no
> pop3_save_uidl(pop3): yes
> pop3_save_uidl(managesieve): no
> pop3_uidl_format(default): %08Xu%08Xv
> pop3_uidl_format(imap): %08Xu%08Xv
> pop3_uidl_format(pop3): UID%u-%v
> pop3_uidl_format(managesieve): %08Xu%08Xv
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> pop3_client_workarounds(managesieve):
> managesieve_implementation_string(default): dovecot
> managesieve_implementation_string(imap): dovecot
> managesieve_implementation_string(pop3): dovecot
> managesieve_implementation_string(managesieve): Cyrus timsieved v2.2.13
> namespace:
>   type: private
>   separator: .
>   prefix: INBOX.
>   inbox: yes
>   list: yes
>   subscriptions: yes
> namespace:
>   type: public
>   separator: .
>   prefix: Server.
>   location: maildir:/var/mail/vmail/%d/shared/Server:INDEX=~/indexes/Server
>   list: yes
>   subscriptions: yes
> lda:
>   postmaster_address: postmaster at terra.a1a-server.de
>   mail_plugins: quota sieve autocreate
>   deliver_log_format: %m:%$:%f:%s
>   log_path: /var/log/dovecot-deliver.log
>   info_log_path: /var/log/dovecot-deliver.log
> auth default:
>   mechanisms: plain login
>   passdb:
>     driver: sql
>     args: /etc/dovecot/dovecot-sql.conf
>   passdb:
>     driver: sql
>     args: /etc/dovecot/dovecot-sql-master.conf
>   userdb:
>     driver: sql
>     args: /etc/dovecot/dovecot-sql.conf
>   socket:
>     type: listen
>     client:
>       path: /var/spool/postfix/private/auth
>       mode: 432
>       user: postfix
>       group: postfix
>     master:
>       path: /var/run/dovecot/auth-master
>       mode: 438
> plugin:
>   sieve: ~/.dovecot.sieve
>   sieve_global_dir: /etc/dovecot/sieve/
>   sieve_dir: %h/sieve
>   autocreate: INBOX.Trash
>   autocreate2: INBOX.Spam
>   autocreate3: INBOX.Sent
>   autosubscribe: INBOX.Trash
>   autosubscribe2: INBOX.Spam
>   autosubscribe3: INBOX.Sent


Best regards & merry christmas!


Anton Dollmaier


More information about the dovecot mailing list