William Yardley wrote:
I was thinking that setting $defer_transports might avoid
$maximal_queue_lifetime, but from my tests, looks like that's not the
case. What about holding the messages? Same thing?

Messages on hold never expire (postfix ignores messages in the hold queue). When they are released from hold, they get one "free" delivery attempt before $maximal_queue_lifetime is tested.

I'd like to avoid DSNs for messages that can't be delivered because a
smarthost can't be reached. Since the DSNs also go through the relayhost
(there's no local delivery), and won't get through til the network is
back up anyway, they don't serve any purpose for us. On the other hand,
in the best of all worlds, I'd like the messages themselves to stick
around.

Sounds like the best solution is just set a really long $maximal_queue_lifetime

  -- Noel Jones

Reply via email to