dovecot lmtp thinks that "disk quota exceeded" is "internal error"
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(awypior): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote:
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
Just to confirm - dovecot 2.3.3 - the same behaviour, internal error
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
On 13 November 2018 at 22:06 Arkadiusz Miśkiewicz arekm@maven.pl wrote:
On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote:
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
Just to confirm - dovecot 2.3.3 - the same behaviour, internal error
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
Are you using quota:fs?
Aki
On 13/11/2018 21:07, Aki Tuomi wrote:
On 13 November 2018 at 22:06 Arkadiusz Miśkiewicz arekm@maven.pl wrote:
On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote:
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
Just to confirm - dovecot 2.3.3 - the same behaviour, internal error
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
Are you using quota:fs?
Yes.
I remember there was some similar problem and solution/workaround was to keep CONTROL= files on non-quota parition.
Aki
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
On 13 Nov 2018, at 21.06, Arkadiusz Miśkiewicz arekm@maven.pl wrote:
On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote:
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
Just to confirm - dovecot 2.3.3 - the same behaviour, internal error
Dovecot can't create the lock file and it's treated as internal error. Why do you think that it should not be treated as such?
Sami
On 13/11/2018 21:07, Sami Ketola wrote:
On 13 Nov 2018, at 21.06, Arkadiusz Miśkiewicz arekm@maven.pl wrote:
On 13/11/2018 15:54, Arkadiusz Miśkiewicz wrote:
2.2.36 (not migrated to 2.3 yet) reports such problem:
Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: open(/var/mail/xxx/mailboxes.lock1bf6ad16b7b8b703) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, Error: Couldn't create mailbox list lock /var/mail/xxx/mailboxes.lock: file_create_locked(/var/mail/xxx/mailboxes.lock) failed: safe_mkstemp(/var /mail/xxx/mailboxes.lock) failed: Disk quota exceeded Nov 13 15:50:58 mbox dovecot: lmtp(xxx): session=<ACYRCtLk6ltiEQAALZVUYQ>, msgid=db663455902e1b3faa53f344dc353870@xxx: save failed to open mailbox INBOX.Spam: Internal error occurred. Refer to server log for more informat ion. [2018-11-13 15:50:58]
Looks a bug to me since disk exceeded is not a internal error. Shouldn't lmtp return over quota info instead of error?
Just to confirm - dovecot 2.3.3 - the same behaviour, internal error
Dovecot can't create the lock file and it's treated as internal error. Why do you think that it should not be treated as such?
Dovecot knows it's over quota error and can report that way. Just like it reports other over quota conditions.
Sami
-- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
participants (3)
-
Aki Tuomi
-
Arkadiusz Miśkiewicz
-
Sami Ketola