On Wed, 14 Jan 2009 10:50:01 -0600 (CST) "Matt Rude" <li...@mattrude.com> wrote:
> > > > /etc/postfix-asciiking/main.cf: > > transport_maps = hash:/etc/postfix-asciiking/transport > > > > /etc/postfix-asciiking/master.cf: > > blocked unix - - n - - smtp -o > > relayhost = [IP-of-other-Postfix-instance] > > > > /etc/postfix-asciiking/transport > > earthlink.com blocked: > > mindspring.com blocked: > > Put the "IP-of-other-Postfix-instance" after "blocked:" > > See: http://www.postfix.org/transport.5.html > > When no nexthop host name is specified, the destination > domain name is used instead. For example, the following > directs mail for u...@example.com via the slow transport > to a mail exchanger for example.com. The slow transport > could be configured to run at most one delivery process at > a time: > > example.com slow: > Using transport_maps... # postconf -n -c /etc/postfix-asciiking/ . . . syslog_name = postfix-ak transport_maps = hash:/etc/postfix-asciiking/transport . . . Since the only thing I want to override is the relayhost for destination, I can use the default transport with my own gateway... # cat /etc/postfix-asciiking/transport earthlink.com :[72.55.179.43] mindspring.com :[72.55.179.43] . . . This is a test result... # grep DCA4A9480D9 /var/log/maillog Jan 14 12:15:00 cl-t090-563cl postfix-ak/pickup[5125]: DCA4A9480D9: uid=505 from=<usak-boun...@asciiking.com> Jan 14 12:15:00 cl-t090-563cl postfix-ak/cleanup[5099]: DCA4A9480D9: message-id=<20090114171500.dca4a948...@asciiking.com> Jan 14 12:15:00 cl-t090-563cl postfix-ak/qmgr[5100]: DCA4A9480D9: from=<usak-boun...@asciiking.com>, size=2724, nrcpt=1 (queue active) Jan 14 12:15:01 cl-t090-563cl postfix-ak/smtp[5132]: DCA4A9480D9: to=<greentree1...@earthlink.net>, relay=mx3.earthlink.net[209.86.93.228]:25, delay=0.34, delays=0.03/0.01/0.26/0.05, dsn=5.0.0, status=bounced (host mx3.earthlink.net[209.86.93.228] said: 550 550 Dynamic/zombied/spam IPs blocked. Write blockedbyearthl...@abuse.earthlink.net (in reply to MAIL FROM command)) Jan 14 12:15:01 cl-t090-563cl postfix-ak/bounce[5167]: DCA4A9480D9: sender non-delivery notification: 3A03D9480DE Jan 14 12:15:01 cl-t090-563cl postfix-ak/qmgr[5100]: DCA4A9480D9: removed I don't mind being more exhaustive if there's any chance that I've overlooked something, but I've been using Postfix a couple years now and this is the only part of my configuration that I don't really know that well. Thanks, Chris Babcock
signature.asc
Description: PGP signature