On 2007-06-12, 21:27, Timo Sirainen wrote:
On Tue, 2007-06-12 at 18:54 +0200, Erland Nylend wrote:
deliver(firstname.lastname@domain.tld): Jun 12 18:30:57 Info: msgid=ECEMJFJEJPMECJKPPFBJEEBOCCAA.foo.bar@domain.tld: save failed to INBOX deliver(firstname.lastname@domain.tld): Jun 12 18:30:57 Info: msgid=ECEMJFJEJPMECJKPPFBJGEBOCCAA.foo.bar@domain.tld: saved mail to INBOX
As you see there, the message-IDs are the same. So Dovecot first tried to save a message to INBOX and then when it failed it tried to do that again which finally succeeded. I can't figure out why it would ever try to save it twice to INBOX though.
Anyway, if the failure is non-critical such as "quota exceeded", Dovecot doesn't currently log anything. If the save wouldn't have succeeded, it would have given the error message in rejection mail. This patch makes it log the error always: http://hg.dovecot.org/dovecot-1.0/rev/abc4be10176e
I added the patch, and recompiled with these options:
./configure --prefix=/usr/local/dovecot-1.0.0.patched --with-mysql --with-passwd=no --with-sqlite=no --with-pam=no --with-shadow=no --with-gssapi
This is a log line from /var/log/dovecot-deliver.err:
deliver(firstname.lastname@domain.tld): Jun 13 10:36:29 Info: msgid=NM-0-3-40561452-1181723787@mailgen-0-1: save failed to INBOX: Unknown error
Not sure whether this is the same problem, though. The log line only appears once. I'll send you an update if I get more error messages.
-- Erland Nylend