|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Dynamic IP fallback relay
From: Wietse Venema (wietse
porcupine.org)
Date: Sat Feb 12 2005 - 15:19:20 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Miguel M:
> How do I configure postfix to make the first delivery attempt directly, and
> if the e-mail is bounced make the second attempt via [myisp.example.com]?
Currently, when the receiving MTA rejects helo, sender, recipient
or data, then Postfix deletes the recipient from the queue file
and sends a non-delivery report.
For testing purposes, Postfix has a soft_bounce feature that causes
recipients to always be deferred instead of bounced.
What you need would involve a very small change: turn on the soft
bounce behavior in the SMTP client.
This can't be automatical when fallback relay is specified. Some
sites use fallback relay to off-load the main MTA and don't want
to ignore bounces.
Try this in master.cf
smtp unix - - n - - smtp
-o soft_bounce=yes
This limits soft_bounce to just the SMTP client.
If that helps then we could introduce a new configuration parameter
so that there is no need to clutter master.cf.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]