Re: [exim] IPv6 lookup issues what am I doing wrong?

Top Page
Delete this message
Reply to this message
Author: Spencer Marshall
Date:  
To: exim-users@exim.org, Jeremy Harris
Subject: Re: [exim] IPv6 lookup issues what am I doing wrong?
Thank you. In case anyone else encounters the same issue, the following worked for me. note the dhparam does not require the list separater
tls_certificate = <;/etc/exim/$received_ip_address.cer
tls_privatekey = <;/etc/exim/$received_ip_address.key
tls_dhparam = /etc/exim/$received_ip_address.dh
tls_verify_certificates = /etc/ssl/certs

________________________________
From: Exim-users <exim-users-bounces+spencer.marshall=transversal.com@???> on behalf of Jeremy Harris via Exim-users <exim-users@???>
Sent: 09 May 2019 11:01
To: exim-users@???
Subject: Re: [exim] IPv6 lookup issues what am I doing wrong?

On 09/05/2019 09:50, Spencer Marshall via Exim-users wrote:
> I have a similar issue with
> tls_certificate = /etc/exim/$received_ip_address.cer


tls_certificate takes a list, and the default list separator
is a colon. If you use an expansion expected to result in
colons, in this case an ipv6 address, you need to change
the separator:

tls_certificate = <; /etc/exim/$received_ip_address.cer

> tls_privatekey = /etc/exim/$received_ip_address.key
> tls_dhparam = /etc/exim/$received_ip_address.dh
> The certificate is found for IPv4 connections, but not IPv6.

--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/