[Dovecot] mbox file too large error with deliver

Gokdeniz Karadag gokdenizk at gmail.com
Sun Nov 23 23:55:15 EET 2008


Hi,

I am using dovecot on debian, with version 1.0.rc15-2etch4. Along with postfix.

The deliver binary cannot deliver to large mailboxes. I cannot state an exact 
size limit but mbox mailboxes above 1GB seem to be affected.

I have these in in postfix/main.cf
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 5120000000

The user.log file shows these (I believe if no logging is specified, deliver 
binary tries to log with "logger" and they go to user ?)

user.log.3.gz:Nov  8 21:23:01 guvercin deliver(dummy): write() failed with mbox 
file /var/mail/dummy: File too large
user.log.3.gz:Nov  8 21:23:01 guvercin deliver(dummy): 
msgid=<4915957C.8090606 at ceng.metu.edu.tr>: save failed to INBOX
user.log.3.gz:Nov  8 21:23:01 guvercin deliver(dummy): sieve runtime error: 
Keep: Generic Error

The /var/mail/dummy file exists and is 1.9GB, so my filesystem certainly 
supports files >1G

What may be the problem ?


dovecot -n output follows :
----------------------------------------

log_timestamp: %Y-%m-%d %H:%M:%S
syslog_facility: local1
protocols: imaps pop3s
ssl_cert_file(default): /etc/ssl/certs/imap-cert.pem
ssl_cert_file(imap): /etc/ssl/certs/imap-cert.pem
ssl_cert_file(pop3): /etc/ssl/certs/pop-cert.pem
ssl_key_file(default): /etc/ssl/private/imap-key.pem
ssl_key_file(imap): /etc/ssl/private/imap-key.pem
ssl_key_file(pop3): /etc/ssl/private/pop-key.pem
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
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot/indexes/%u
mbox_read_locks: fcntl dotlock
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
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
imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xv%08Xu
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
   mechanisms: plain login
   passdb:
     driver: pam
   userdb:
     driver: passwd
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix
     master:


More information about the dovecot mailing list