[TriLUG] Postfix conditional Smarthost

Ken Wahl ken at kenwahl.org
Mon Mar 31 02:12:49 EST 2003


Related to the AOL thread:

I'm delivering mail for myself of my dialup box and get bounced by
*.*.rr.com and a couple others.  For mail to those domains I'd like to
relay through my ISP's smtp server.

To do this on Postfix *I think* I need to:

edit /etc/postfix/transport to read something like

-------
my_FQDN local
rr.com smtp:[smtp.myisp.com]
-------

edit /etc/postfix/main.cf

------
transport_maps = hash:/etc/postfix/transport
------

and run postmap /etc/postfix/transport then restart postfix.

Is this correct and do I also have to include
-----
masquerade_domains = myisp.net
-----
in my main.cf?

I tried searching for this but only came up with docs on how to relay
all mail through my ISP.

TIA
-- 
Ken Wahl  ken at kenwahl.org  http://www.kenwahl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030331/8a65d592/attachment.pgp>


More information about the TriLUG mailing list