Exim dns lookup route

BadSuzi

Verified User
Joined
Jan 20, 2022
Messages
6
Hello,

We want to change the configuration of exim so that it always checks the MX records of domains, even for domains added locally as localdomain. I tried modifying the exim configuration in the section:

653 lookuphost:
654 driver = dnslookup
655 domains = ! +local_domains
656 ignore_target_hosts = 127.0.0.0/8
657 condition = "${perl{check_limits}}"
658 transport = remote_smtp
659 #route_data = ${lookup mxh= $domain}
660 no_more

Unfortunately, no changes such as changing domains to domains =+local_domains work properly - for example, it only works for sending to external domains, but not local ones. Even creating new rotuers/drivers etc doesn't work properly. Is there any way to set this up in exim?

Regards,
 
@smtalk Can you help we with force dns lookup without read local_domains? In our case the dns lookup is more safty that read local_domains.
 
I'm a bit fuzzy on this, but I think the logic for this might actually have to be cut out of /etc/exim.pl. Trying to fully understand how it's doing this and coming up with alternative logic that doesn't break anything has been on my mind for a long time, but still far behind other items. So take my words with a grain of salt.
 
Hello,

Same thing here, I've been trying several methods but so far with no success. Some help would be welcome. @smtalk
 
Back
Top