Re-Routing AOL Mails

Adam Davis ald at dovienya.net
Thu Jun 19 23:32:06 CDT 2003


On Thu, 19 Jun 2003, Scott Smith wrote:

> If I understand the problem, I  think you can just tell your MTA to
> relay all outbound mail through smtp-server.kc.rr.com. With Postfix
> that'd be like ->
>
> relayhost = smtp-server.kc.rr.com

Good plan.  I modified it a little.

Exim's config has these deals called routers.  My understanding is
that they're basically last-step sort of things to define what's to be
done with outgoing mail.  I made this the first one:

aol_pipe:
  driver = domainlist
  transport = remote_smtp
  route_list = aol.com smtp-server.kc.rr.com

The driver domainlist allows me to use that route_list option.  All mail
to aol.com is routed through RR's smtp server.  (aol.com can be
replaced by any regexp, it just happens I only need to avoid one
particular doman) All other mail is treated normally (sent directly based
on MX records).

There's apparently a new driver (manualroute) for versions of Exim > 4.0
which works better and is better documented.  There's a different sort
of setup for that driver but I didn't explore it much.  I've got the
latest stable Debian version, 3.35.  As far as I know, though, this
domainlist method ought to work for newer versions as well.

Just in case any other Exim/RR/Dialup people'd like to avoid routing
everything through RR.

~Adam Davis




More information about the Kclug mailing list