
mihamina at gulfsat
Nov 9, 2009, 10:51 AM
Post #1 of 1
(339 views)
Permalink
|
Hi all, I my /etc/exim4/exim4.conf.template file, i got: remote_smtp_smarthost: debug_print = "T: remote_smtp_smarthost for $local_part@$domain" driver = smtp hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \ {\ ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\ }\ {} \ } I would like to have something like: remote_smtp_smarthost_server_one: debug_print = "T: remote_smtp_smarthost_server_one for $local_part@$domain" driver = smtp <the right option>: <ip or hostname of server_one> remote_smtp_smarthost_server_two: debug_print = "T: remote_smtp_smarthost_server_two for $local_part@$domain" driver = smtp <the right option>: <ip or hostname of server_two> remote_smtp_smarthost_server_three: debug_print = "T: remote_smtp_smarthost_server_three for $local_part@$domain" driver = smtp <the right option>: <ip or hostname of server_three> This is in order to use this: http://blog.fupps.com/2009/09/03/exim-route-messages-depending-on-current-location/ I can make my script return: ACCEPT TRANSPORT=remote_smtp_smarthost_server_one or ACCEPT TRANSPORT=remote_smtp_smarthost_server_two or ACCEPT TRANSPORT=remote_smtp_smarthost_server_three In my case no server requires SMTP AUTH. Thank you. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 33 11 207 36 -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
|