I think I like the temporary failure idea. BUT, please make sure to log all pertinent information to maillog so the admin/user can fix it if it's not something that is automatically fixed.
I.E. permissions, etc.
Thanks! Love dovecot btw. works great in my setup (FreeBSD/ZFS/mbox/LDA/Exim).
On Fri, May 31, 2013 at 8:41 AM, Timo Sirainen <tss@iki.fi> wrote:
Currently if saving to mailbox fails for any reason, the mail is saved to INBOX instead. Same if a Sieve redirect fails, the mail is saved to INBOX. I'm wondering if anyone actually prefers this behavior when the error is temporary? For example if some index file corruption was detected, the save will most likely succeed the next time it's attempted. Or if the redirect fails because the SMTP server can't be connected to at the moment. So I was thinking about changing v2.2 LDA/LMTP to simply return temporary failure instead of saving the mail to INBOX.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx@gmail.com US Mail: 430 Valona Loop, Round Rock, TX 78681-3893