On Thu, Nov 28, 2013 at 11:52:26AM +1100, craig.post...@noboost.org wrote: > Just after advice, I'm configuring Postfix to work with a Dovecot LMTP > for (Sieve delivery). I want to be 100% certain that if Dovecot stuffs > up in some way, or a user fails to write a correct sieve script, that we > won't loose any mail.
There is nothing you can do in Postfix if Dovector is misconfigured to accept and discard mail. If Dovecot reports a temporary error, Postfix will queue the mail. If Dovecot reports a permanent error, Postfix will bounce the mail. > virtual_transport = lmtp:unix:private/dovecot-lmtp > > The above links to a Dovecot socket for final delivery. I've done > testing with Dovecot offline and it shows email sitting in the > deferred queue, so perhaps I should tune "maximal_backoff_time" > and "bounce_queue_lifetime"? Postfix needs no further tuning for sensible behaviour in this situation. Spend your efforts on making sure the Dovecot configuration is correct. -- Viktor.