著者: Jeremy Harris 日付: To: exim-users 題目: Re: [exim] Use of ipv4 and ipv6 for sending mails to specific
domains
On 22/07/16 15:38, Thomas Wilhelm wrote: > 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.
Possibilities:
- some other transport was used; not the one you expected
- the IP was typoed for the interface option
You could try running with debug to see if you get any clarity
on the transport's decisions.
> Using dns_ipv4_lookup is not an option because I only would like to send via ipv4 to some specific domains.
It takes a domain list, so can be used to apply to specific domains.
--
Cheers,
Jeremy