MTA: Exim

Smarthost relay

by ross at 12:23:18 on November 21, 2012

Configure

Comment out dnslookup and add smarthost_relay section:

#dnslookup:
#  driver = dnslookup
#  domains = ! +local_domains
#  transport = remote_smtp
#  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
#  no_more

smarthost_relay:
  driver = manualroute
  route_list = !+local_domains your.smart.host
  transport = remote_smtp

Replace your.smart.host with FQDN of the smart host relay.

If your smart host does not require authentification then you are done. Otherwise read on.

Edit remote_smtp transport:

remote_smtp:
  driver = smtp
  port = 587
  hosts_require_auth = $host_address
  hosts_require_tls = $host_address

Add after begin authenticators:

smarthost_login:
  driver = plaintext
  public_name = LOGIN
  client_send = : [email protected] : passwd

Replace [email protected] with your login and passwd with your password.

 

Comments