[exim] Exim4 Satellite Mode for two smtp servers

Top Page
Delete this message
Reply to this message
Author: Abel Ferreira
Date:  
To: exim-users
Subject: [exim] Exim4 Satellite Mode for two smtp servers
Hello,

Anyone knows how to set two diferent smtp server at exim4 configured as
satellite mode?
For example
for *@domain1.com use smtp1.server.com with a especific login/password
for any other doamin use smtp2.server.com with another password

today i use mutt to send emails from my script and just set this at the
exim4 conf:

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='mydomain.com'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='my.smtp.server::25'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

and have the login informations stored at passwd.client file.

Abel Ferreira