Autor: Phil Pennock Data: A: Chuck Peters CC: exim-users Assumpte: Re: [exim] Listening on IPv6 port 587
On 2013-10-08 at 01:52 +0000, Chuck Peters wrote: > The log shows: listening for SMTP on [127.0.0.1]:25 [71.19.158.234]:25
> after I changed update-exim4.conf.conf to include:
> dc_local_interfaces='<; 127.0.0.1 ; 71.19.158.234 ;
> 2605:2700:0:2::4713:9eea.587 ;'
>
> Listening for SMTP on [127.0.0.1]:25 [71.19.158.234]:25 with
> update-exim4.conf.conf set to dc_local_interfaces='<; [127.0.0.1]:25 ;
> [71.19.158.234]:25 ; [2605:2700:0:2::4713:9eea]:587 ;'
>
> So why isn't exim listening on port 587 of the IPv6 address?
The Debian wrappers being used by Ubuntu do not understand the address
syntax in use and have malformed the configuration by the time the data
makes it into the Exim configuration file, before Exim first sees it:
> grep -i interfaces /var/lib/exim4/config.autogenerated
> .ifndef MAIN_LOCAL_INTERFACES
> MAIN_LOCAL_INTERFACES=<; 127.0.0.1 ; 71.19.158.234 ; 2605:2700:0:2::4713:9eea.587 ;
> .ifdef MAIN_LOCAL_INTERFACES
> local_interfaces = MAIN_LOCAL_INTERFACES
That shows that the port-number has become part of the IP address.
You're going to need to check into the Debian wrappers to see how to get
past the dc_* stuff, which does not originate with the Exim project, to
get the configuration into place. I believe that
/usr/share/doc/exim4/README.Debian.gz or somesuch should exist, with
more pointers.