On Saturday 13 August 2005 03:01, Dirk grosse Osterhues wrote:

> I'd like to set up a smartrouter for recipients hosted on aol.com,
> because aol keeps rejecting my mails. Depending on the recipients
> domain (aol.com) those mail should go through a smartrouter.
> My problem is that I can't find any variable which covers this problem.
> Is it possible with exim4?

I assume you're having the same problem I have with being blacklisted for 
having a dynamic IP address.  Here's how I do it:

problematic:
        driver = manualroute
        transport = remote_smtp
        ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
        route_list = * smtp.blueyonder.co.uk
        domains = /etc/exim4/domains-problematic.list

dnslookup:
        driver = dnslookup
        domains = ! +local_domains
        headers_add = X-DCL-garcia: R dnslookup
        transport = remote_smtp
        ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
        no_more

followed by the stanzas for local addresses.

The file domains-problematic.list is just a list of domains separated by 
newlines and can contain * for subdomains.  Here's an excerpt.

aol.com
*.ac.uk
helsinki.fi
*.helsinki.fi

HTH.

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to