On 3/19/2011 10:14 AM, David Touzeau wrote:
Le samedi 19 mars 2011 à 11:05 -0400, Wietse Venema a écrit :
David Touzeau:
I expected a feature that reduce the queue life time per SMTP error code
but it seems that this kind of feature does not exists on postfix
Do you mean, feature to detect that hotmiel.com is a typo?
Do you mean, feature to drop mail immediately when hotmiel.com
accepts no SMTP connection? What about other domains with
delivery errors?
Wietse
i means reduce the queue life time per outgoing connection error.
For example, Postfix detect a "Connection refused" and reduce queue life
time to 6 hours instead 5 days for this error.
But for a "timed out" it keep 5 days.
Unfortunately, the behavior of intentionally dead domains eg.
hotmiel.com is indistinguishable from legit domains
experiencing a temporary outage.
From the external standpoint, there is no significant
difference between a connection refused and a timeout. They
are both temporary errors.
Your choices are:
- add transport entries for common misspellings to immediately
bounce the message.
- reduce the max queue lifetime for all deferred mail
- just live with it. It shouldn't be enough mail to affect
postfix operation.
-- Noel Jones