Auteur: Thomas Wilhelm
Date:
À: exim-users
Sujet: [exim] Use of ipv4 and ipv6 for sending mails to specific domains
Hi list,
Situation:
we want to send emails to some domains only via IPv4 and to other domains via ipv4 and ipv6.
I tried to use the "interface"-value in the transport-section, but it didn't work.
I set an ip for the inferace-value by hand. The value was ignored and the Server used the default-IP for sending the email.
Config-Snippet:
transport_others:
driver = smtp
connect_timeout = 1m
tls_require_ciphers = ECDH+aRSA+AES128:DH+aRSA+AES128:ECDH+aRSA+AES256:DH+aRSA+AES256:RSA+AES128:RSA+AES256:RSA+3DES:RSA+RC4:!MD5
interface = IP-Address
helo_data = ${lookup dnsdb{ptr=$sending_ip_address}{$value}{$primary_hostname}}
So even if I set the interface to a single IPv4 Address the server uses the default ipv6 Address for sending the email.
Using dns_ipv4_lookup is not an option because I only would like to send via ipv4 to some specific domains.
Hope anybody can help me.
Best regards,
Thomas