Created
August 16, 2012 08:33
-
-
Save kanru/3368424 to your computer and use it in GitHub Desktop.
Debian exim4 multiple smart host config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smarthost: | |
debug_print = "R: smarthost for $local_part@$domain" | |
driver = manualroute | |
domains = ! +local_domains | |
transport = remote_smtp_smarthost | |
route_data = ${if exists{CONFDIR/smarthosts}\ | |
{${lookup{${domain:$h_from:}}lsearch{CONFDIR/smarthosts}\ | |
{$value}{DCsmarthost}}}\ | |
{DCsmarthost}} | |
host_find_failed = defer | |
same_domain_copy_routing = yes | |
no_more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See my patch proposal at BTS
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869480