[Dovecot] 1.1.alpha6 crashes when quota exceeded

arvids arvids at mpe.lv
Wed Sep 19 19:07:55 EEST 2007


Hello,

deliver process always crashes when user is over quota:

Sep 19 19:01:48 server2 deliver(tests2): Loading modules from directory: /usr/local/dovecot/lib/dovecot/lda
Sep 19 19:01:48 server2 deliver(tests2): Module loaded: /usr/local/dovecot/lib/dovecot/lda/lib10_quota_plugin.so
Sep 19 19:01:48 server2 deliver(tests2): auth input: tests2
Sep 19 19:01:48 server2 deliver(tests2): auth input: home=/vmail/00/tests2
Sep 19 19:01:48 server2 deliver(tests2): auth input: uid=95
Sep 19 19:01:48 server2 deliver(tests2): auth input: gid=95
Sep 19 19:01:48 server2 deliver(tests2): auth input: quota_rule=*:storage=4000
Sep 19 19:01:48 server2 deliver(tests2): auth input: quota_rule2=*:messages=30
Sep 19 19:01:48 server2 deliver(tests2): auth input: quota_warning=storage=1900 /usr/local/bin/quota-storage-warning.sh 95
Sep 19 19:01:48 server2 deliver(tests2): auth input: quota_warning2=messages=14 /usr/local/bin/quota-messages-warning.sh 95
Sep 19 19:01:48 server2 deliver(tests2): dict quota: user = tests2, uri = proxy:/var/run/dovecot/dict-server:quotadict
Sep 19 19:01:48 server2 deliver(tests2): Quota rule: root= mailbox= storage=4000kB messages=0
Sep 19 19:01:48 server2 deliver(tests2): Quota rule: root= mailbox= storage=4000kB messages=30
Sep 19 19:01:48 server2 deliver(tests2): maildir: data=/vmail/00/tests2/Maildir
Sep 19 19:01:48 server2 deliver(tests2): maildir++: root=/vmail/00/tests2/Maildir, index=, control=, inbox=/vmail/00/tests2/Maildir
Sep 19 19:01:49 server2 deliver(tests2): msgid=<200709191901.45174.arvids at arvids.net>: save failed to INBOX: Quota exceeded
Sep 19 19:01:49 server2 deliver(tests2): msgid=<200709191901.45174.arvids at arvids.net>: Rejected: Quota exceeded
Sep 19 19:01:49 server2 deliver(tests2): file index-mail-headers.c: line 590 (index_mail_get_raw_headers): assertion failed: (ret != -1)
Sep 19 19:01:49 server2 deliver(tests2): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x22) [0x80b5a52] -> /usr/local/do
vecot/libexec/dovecot/deliver [0x80b5917] -> /usr/local/dovecot/libexec/dovecot/deliver [0x80845d0] -> /usr/local/dovecot/libexec/dovecot/deliver(index_mail
_get_first_header+0x18) [0x8084888] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_get_first_header+0x17) [0x80a5a47] -> /usr/local/dovecot/libexec/dove
cot/deliver(deliver_get_return_address+0x1a) [0x8058bea] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_send_rejection+0x32) [0x805abd2] -> /usr/local/d
ovecot/libexec/dovecot/deliver(main+0x13ba) [0x805a3ca] -> /lib/libc.so.6(__libc_start_main+0xd8) [0xb7e5bdf8] -> /usr/local/dovecot/libexec/dovecot/deliver
 [0x8058301]

dovecot -n :
# 1.1.alpha6: /usr/local/dovecot/etc/dovecot.conf
base_dir: /var/run/dovecot/
syslog_facility: local0
protocols: pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/pop3-login
login_greeting: Server.
login_process_per_connection: no
login_process_size: 64
verbose_proctitle: yes
first_valid_uid: 95
first_valid_gid: 95
mail_uid: 95
mail_gid: 95
mail_location: maildir:~/Maildir
mail_debug: yes
fsync_disable: yes
mail_executable: /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3
pop3_enable_last: yes
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login digest-md5 cram-md5 apop
  cache_size: 2048
  cache_ttl: 28800
  cache_negative_ttl: 60
  user: doveauth
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  userdb:
    driver: prefetch
  userdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict
dict:
  quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf

Regards, Arvids


More information about the dovecot mailing list