Answer the question
In order to leave comments, you need to log in
Why does Exim send messages from IPv6 when the domain is set to IPv4?
Good day to all.
Exim 4.84.
There is a domain.com mail domain.
Exim config contains the line
interface = <;${lookup{$sender_address_domain}lsearch{/etc/exim/domainips}}
domain.com:219.121.11.109
Answer the question
In order to leave comments, you need to log in
Googled the thread www.gossamer-threads.com/lists/exim/users/88456.
I briefly read it. As I understand it, you need to specify ipv4 and ipv6 interface for each domain in domainips, because if Exim finds an AAAA record on the recipient, it sends via ipv6. If it is not set explicitly for this sender, it is sent through any.
So far I've decided this:
#ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
ignore_target_hosts = <; 0.0.0.0 ; 127.0.0.0/8 ; ::/0
Whether an error existence <;
in a line?
Try to display in the log what value the router receives as a result of execution
${lookup{$sender_address_domain}lsearch{/etc/exim/domainips}}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question