[Wolves] Postfix transport issue.

Ron Wellsted ron at wellsted.org.uk
Fri Feb 13 13:50:53 UTC 2009


On Fri, Feb 13, 2009 at 12:31:13PM +0000, Simon B. wrote:
> Hi guys,
> 
> Im still lurking here, and occasionally asking questions.
> 
> Anyway, I'm hoping there is a postfix expert somewhere that can help me.
> 
> I'm setting up a mail server but there is one odd requirement.
> 
> I need to set up a transport rule/entry (in /etc/postfix/transport), in 
> the format of 'domain smtp:nexthop'.
> 
> The one issue I have is that the nexthop requires authentication.
> 
> If the next hop was to relay for all domains no problem at all (that can 
> mostly be done in the main.cf) but as its just for one domain its a bit 
> painful.
> 
> The nexthop is not managed by me and hence I cant change any 
> configuration there.
> 
> -- 
> Thanks,
> 
> Simon.
Hi Simon,

Postfix SASL is your friend.  See
http://www.postfix.org/SASL_README.html you need the section "Enabling
SASL authentication in the Postfix SMTP client" which allows you to
specify a username for each machine used to deliver mail to.

e.g.
transports.cf:
domain smtp:nexthop:25

saslpw.cf:
nexthop username:password

HTH

-- 
Ron Wellsted
ron at wellsted.org.uk http://www.wellsted.org.uk
N 52.567623, W 2.136111 Linux Counter No. 202120
Ekiga: 645022
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/wolves/attachments/20090213/c302f573/attachment.pgp 


More information about the Wolves mailing list