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