[TriLUG] relaying outgoing mail through external SMTP server with Postfix

Mark Kempster mark at kempster.org
Mon Jun 23 10:14:27 EDT 2003


Chris -

Chris Merrill wrote:
> I remember a topic recently regarding relaying mail from a mail server
> (e.g. Postfix) through an external mail server (e.g. 
> smtp-server.nc.rr.com).

Here's a slice of my postfix setup
(debian stable; postfix version 1.1.11-0.woody2):


$ tail -10 /etc/postfix/transport
# Use mail.bellsouth.net for mailing to domains
# that don't accept mail from dynamic IP addresses
rr.com          smtp:[mail.bellsouth.net]
.rr.com         smtp:[mail.bellsouth.net]
aol.com         smtp:[mail.bellsouth.net]
compuserve.com  smtp:[mail.bellsouth.net]

# After modifying this file, refresh the transport map with:
# cd /etc/postfix
# sudo postmap transport



Cheers
- Mark




More information about the TriLUG mailing list