[Dovecot] Small deliver bug

Robin Breathe
Thu, 11 Sep 2008 11:36:19 -0000

Setting
"mail_location=maildir:~/Maildir:INDEX=~/index:CONTROL=~/control"
(or separating INDEX and CONTROL in general) along with
"quota=maildir" (and or having a ~/.dovecot.sieve) appears to expose a
small bug in deliver (version 1.1.3, but probably all). While deliver
will create a missing INDEX directory, it throws an error if the
CONTROL directory is missing, exiting with exit code 75 and the
following message:
  Internal error occurred. Refer to server log for more information.
[2008-09-11 12:30:13]

The associated syslog error is:
  Sep 11 12:30:13 csmail2 deliver(88345678): [ID 994296 mail.error]
file_dotlock_open(/users4/stu/78/88345678/control/maildirsize) failed:
No such file or directory
  Sep 11 12:30:13 csmail2 deliver(88345678): [ID 702911 mail.error]
Internal quota calculation error
  Sep 11 12:30:13 csmail2 deliver(88345678): [ID 702911 mail.info]
msgid=<43435ee38b616bb360e98d1990ad8f6d at example.com>: save failed to
INBOX: Internal error occurred. Refer to server log for more
information. [2008-09-11 12:30:13]

Full "dovecot -n" output is attached.

Regards,
Robin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dovecot-n.txt
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080911/0c0dfb65/attachment-0002.txt>