Timo Sirainen
2013-May-31 13:41 UTC
[Dovecot] LDA/LMTP - saving to INBOX fallback on tempfail?
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
2013-May-31 13:44 UTC
[Dovecot] LDA/LMTP - saving to INBOX fallback on tempfail?
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 at 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 at gmail.com US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Birta Levente
2013-May-31 13:52 UTC
[Dovecot] LDA/LMTP - saving to INBOX fallback on tempfail?
On 31/05/2013 16:41, Timo Sirainen 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. >What about configurable save_to_inbox_if_tmperror = yes / no ? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3889 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20130531/23470f4b/attachment-0001.bin>