|
|
|
|
|
by tsukikage
267 days ago
|
|
I use exim4. So after doing the usual SES setup, I can change the smarthost router to look like this: SMARTHOST_FOR_MS = email-smtp.us-east-2.amazonaws.com::587
smarthost:
debug_print = "R: smarthost for $local_part@$domain"
driver = manualroute
domains = ! +local_domains
transport = remote_smtp_smarthost
route_list = hotmail.com SMARTHOST_FOR_MS byname ; \
live.com SMARTHOST_FOR_MS byname ; \
outlook.com SMARTHOST_FOR_MS byname ; \
msn.com SMARTHOST_FOR_MS byname ; \
live.co.uk SMARTHOST_FOR_MS byname ; \
hotmail.co.uk SMARTHOST_FOR_MS byname ; \
* DCsmarthost byname
host_find_failed = defer
same_domain_copy_routing = yes
no_more
If there was a much larger list of problem destinations I'd maybe do something nicer involving separate routers and a domainlist, but those cover all the cases that are broken right now. |
|