Default Postfix retry behavior

grigory

Member
Jan 31, 2016
41
0
66
Hello!


Just want to make sure I've got it right after some googling around. So if the sending attempt fails, then Postfix waits for 5 minutes and checks its deferred queue (queue_run_delay parametr) and then sends again. It complies with the minimal_backoff_time (which is 5 minites by default). After that Postfix each time doubles the wait time period till it reaches 66,66 minutes approx. (maximal_backoff_time, default for which is 4000 sec.). So then Postfix keep on trying approx. every hour for 5 days (maximal_queue_lifetime, default for which is 5 d). Correct???

P.S. One more thing... And what if in my main.cf file those parameters aren't listed, then what? Does Postfix follow its default guidelines nevertheless?
 
Last edited:

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
Hello!
...

P.S. One more thing... And what if in my main.cf file those parameters aren't listed, then what? Does Postfix follow its default guidelines nevertheless?

Run

sudo postconf -d

to show default values PF will apply unless/until overriden. If you use '-n' instead, it will show you the options applied within your main.cf.