I'm a Postfix n00b, so I may be asking a loaded question...but here goes: Recently, a user of mine sent an email to an incorrect address - he garbled the domain name. It took six days for our mail server to decide that it was undeliverable...
Basically, the (incorrect) domain name actually resolved to a valid host, but threw timeouts on each attempt to deliver. The message sat in the deferred queue retrying every hour or so and accumulating errors, until it reached about ~435000 seconds, then finally resolved it as undeliverable and notified the user. In my opinion, this should have happened much, much sooner. It may just be a niche case, but I'd like to know how I can adjust the parameters that control how a deferred message remains deferred - for instance, how much time has passed since initial delivery attempt or how many errors have been encountered before the delivery failure is considered permanent. I've looked through the documentation, but I can't see anything that relates to this - just the minimal and maximal retry timers for the deferred queue. Am I looking for the wrong keyword here or can I not adjust these parameters? Thanks! -Rem
