Re: [exim] Listening on IPv6 port 587

Góra strony
Delete this message
Reply to this message
Autor: Jan Ingvoldstad
Data:  
Dla: exim users
Temat: Re: [exim] Listening on IPv6 port 587
On Tue, Oct 8, 2013 at 3:52 AM, Chuck Peters <cp@???> wrote:

>
> I am running Ubuntu's 13.04 packaged 4.80-7ubuntu1 and I want to setup a
> smarthost from home to my VPS using my SixXS IPv6 tunnel. Internet
> access at home is a dynamic IPv4 cable modem and the IPv6 tunnel allows
> static IPv6 addresses. I am trying to setup the VPS to listen on port
> 587 of the IPv6 address, and basically only use it for the smarthost.
>
> 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?
>


I don't think that's how you're supposed to enter different listener ports
in update-exim4.conf, semicolon is already the separator thingy.

The following seems to work for me (tested with my own IPv4 and IPv6
addresses):

dc_local_interfaces='127.0.0.1 ; ::1 ; 71.19.158.234 ;
[2605:2700:0:2::4713:9eea]:587'

Tested with Debian wheezy, which uses Exim 4.80.
--
Jan