updated: 2019-06-22 Sat 00:00

Exim local mail

To allow Exim to send email within the local network, you need to remove local IP series from ‘ignore_target_hosts‘


  debug_print = "R: dnslookup for $local_part@$domain"
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  same_domain_copy_routing = yes
  # ignore private rfc1918 and APIPA addresses
  ignore_target_hosts = : : :\ : : :\

Host A running main Exim4 mail server where the users are registered.
Another host B in the same network running an application and generating mails for host A.

Remove from host B's Exim4 configuration to allow internal mail to host A.