Re: [Exim] Canonicalizing Addresses

Top Page
Delete this message
Reply to this message
Author: John Lawless
Date:  
To: Philip Hazel
CC: Exim List
Subject: Re: [Exim] Canonicalizing Addresses
Thanks. I think I've got it then as:

local:
driver = lookuphost
transport = remote_smtp
domains = lsearch;/etc/local_hosts.list
self = local
gethostbyname

internet:
driver = domainlist
domains = !*.internal:^.*\\..*\$
transport = remote_smtp
route_list = * mail.isp.net bydns_a

This tries the local network first, reducing the chance of accidental
internet deliveries. From all the discussion on aliases and new internet
domains, I added the domains statements to the internet router to stop
addresses that look like misspelled aliases (no period) or that look like
misspelled internal addresses (*.internal).

John