Package: exim4-config
Version: 4.63-17
Severity: important
Tags: patch ipv6

The configuration template at /etc/exim4/exim4.conf.template is not capable of handling IPv6 smarthosts with SMTP authentication.

The following section does a lookup in /etc/exim4/passwd.client and (if found) returns the $host_address value in the hosts_try_auth list:

---cut---
remote_smtp_smarthost:
  debug_print = "T: remote_smtp_smarthost for $local_p...@$domain"
  driver = smtp
  hosts_try_auth = ${if exists{CONFDIR/passwd.client} \
        {\
        ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
        }\
        {} \
      }
---cut---

If $host_address is an IPv6 address, the colons are interpreted as address seperators. To use an IPv6 address, the hosts_try_auth list should start with "<; ", thus only a semicolon will be used as seperator.

FIX:
- hosts_try_auth = ${if exists{CONFDIR/passwd.client} \
+ hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \

Best regards,

   Klaus Keppler



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to