On 10/26/2020 12:46 PM, Ron Wheeler wrote:
I am not sure of the following:
- how many time Postfix retries before putting something in the queue?
- how often Postfix goes through the queue retrying old failed sends?
- what make Postfix give up retrying automatically?
Documentation:
http://www.postfix.org/QSHAPE_README.html
http://www.postfix.org/TUNING_README.html
The default values for all the queue controls are carefully chosen,
and don't need to be changed except for unusual circumstances, such
as a bulk mail server or a server that only has intermittent
connection to the internet.
If you feel the need to twiddle the knobs, start with small changes
and test the effect.
As a general rule, don't flush the queue; let postfix deal with
deferred mail on its own. Frequent flushes can reduce performance.
In your case, a modest change to maximal_backoff_time may help
delivery to destinations that are sometimes offline. Make a small
change and test. Note that reducing the backoff can delay new mail
if there is a lot of deferred mail not yet deliverable.
Don't flush the queue.
-- Noel Jones