From: Victor Duchovni (no email)
Date: Fri Jun 01 2007 - 11:19:27 EDT
On Fri, Jun 01, 2007 at 04:09:56PM +0100, Benjamin Donnachie wrote:
> I currently relay all traffic through my ISP's server. Unfortunately,
> it rejects bounce messages with from=<>.
Your ISP is not providing MTA-class service, rather the service you are
using is for MUAs.
> Consequently, I need to deliver such messages directly to the recipients
> MX. In attempt to work around this, I have unset relayhost and added
> sender_dependent_relayhost_maps=pcre:/etc/postfix/sender_dependent_relayhost
> to my main.cf.
>
> The file sender_dependent_relayhost contains:
>
> /.*/ smtp.my.isp.example.com
>
> It seems to be working fine. Are there any problem using this method
> which I should be aware of?
A reasonably clever hack, which can be simplified to:
/./ smtp.my.isp.example.com
the problem is that if your IP is dynamic, on the PBL, or otherwise
likely to be refused direct access to MX hosts, your bounces will be
refused also, so mail will silently disappear. The best solution is to
find a relay service for MTAs that is willing to forward your traffic,
or rent a server at a hosting site to be your relay.
-- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.
|
|
|