Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dominic Raferd
On 08/12/2016 15:46, Wietse Venema wrote: Dominic Raferd: I already have: smtp_destination_concurrency_limit = 1 smtp_destination_concurrency_failed_cohort_limit = 10 smtp_destination_rate_delay = 3s smtp_destination_recipient_limit = 1 Well there you messed up. Don't set smtp_destination_recip

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Wietse Venema
Dominic Raferd: > I already have: > smtp_destination_concurrency_limit = 1 > smtp_destination_concurrency_failed_cohort_limit = 10 > smtp_destination_rate_delay = 3s > smtp_destination_recipient_limit = 1 Well there you messed up. Don't set smtp_destination_recipient_limit=1 that makes the rate li

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dominic Raferd
On 08/12/2016 14:28, Wietse Venema wrote: Dominic Raferd: I'm using Postfix 3.1.0. If a message is rejected by an onward server with a transient error message (e.g. 421-4.7.0 'temporarily rate limited') then my postfix immediately tries any other specified MXs per the recipient address and if th

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dominic Raferd
On 08/12/2016 14:11, Bastian Blank wrote: On Thu, Dec 08, 2016 at 07:39:00AM +, Dominic Raferd wrote: Is there a way to get it instead to try again, after a delay, to the primary onward server(s) (whether the one specified as relayhost or, if no relayhost is specified, the MXs per the recipi

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Wietse Venema
Dominic Raferd: > I'm using Postfix 3.1.0. If a message is rejected by an onward server > with a transient error message (e.g. 421-4.7.0 'temporarily rate > limited') then my postfix immediately tries any other specified MXs per > the recipient address and if these give the same response (as the

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dominic Raferd
On 08/12/2016 14:15, Dusan Obradovic wrote: On Dec 8, 2016, at 14:57, Dominic Raferd wrote: Thanks for your swift reply Dusan. What you write is logical but my postfix doesn't seem to behave that way. I have no special setting for maximal_queue_lifetime but I give below a recent extract from

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dusan Obradovic
> On Dec 8, 2016, at 14:57, Dominic Raferd wrote: > > Thanks for your swift reply Dusan. What you write is logical but my postfix > doesn't seem to behave that way. I have no special setting for > maximal_queue_lifetime but I give below a recent extract from my log > (obfuscated). After tryin

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Bastian Blank
On Thu, Dec 08, 2016 at 07:39:00AM +, Dominic Raferd wrote: > Is there a way to get it instead to try again, after a delay, to the > primary onward server(s) (whether the one specified as relayhost or, > if no relayhost is specified, the MXs per the recipient address), > and only if these fail

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dominic Raferd
On 08/12/2016 13:28, Dusan Obradovic wrote: On Dec 8, 2016, at 08:39, Dominic Raferd wrote: If nothing was specified as smtp_fallback_relay would it wait and try again on a transient error or would it just give up immediately? If the former, this would give me the behaviour I want but I reall

Re: Retry onward server on transient error before using fallback relay

2016-12-08 Thread Dusan Obradovic
> On Dec 8, 2016, at 08:39, Dominic Raferd wrote: > > If nothing was specified as smtp_fallback_relay would it wait and try again > on a transient error or would it just give up immediately? If the former, > this would give me the behaviour I want but I really need to have the > fallback opti

Retry onward server on transient error before using fallback relay

2016-12-07 Thread Dominic Raferd
I'm using Postfix 3.1.0. If a message is rejected by an onward server with a transient error message (e.g. 421-4.7.0 'temporarily rate limited') then my postfix immediately tries any other specified MXs per the recipient address and if these give the same response (as they tend to) it immediate