Re: [exim] Listening on IPv6 port 587

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jan Ingvoldstad
Ημερομηνία:  
Προς: Chuck Peters
Υ/ο: exim users
Αντικείμενο: Re: [exim] Listening on IPv6 port 587
On Tue, Oct 8, 2013 at 2:38 PM, Chuck Peters <cp@???> wrote:

> I tried that, and other variations, and it's not working.



Okay, here is the complete update-exim4.conf.conf, redacted:

dc_eximconfig_configtype='internet'
dc_other_hostnames='myhost.example
#dc_local_interfaces='127.0.0.1 ; ::1 ; 71.19.158.234'
dc_local_interfaces='127.0.0.1 ; ::1 ; 71.19.158.234 ;
[2605:2700:0:2::4713:9eea]:587'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

I have not fiddled with /etc/default/exim4 or any other files in the exim4
config.

I noticed one other thing in your output above; you seem to have a
semicolon at the end of your dc_local_interfaces specification. That might
b0rk things.

Here is the same "grep -i" for my autogenerated config:

.ifndef MAIN_LOCAL_INTERFACES
MAIN_LOCAL_INTERFACES=<; 127.0.0.1 ; ::1 ; 71.19.158.234 ;
[2605:2700:0:2::4713:9eea]:587
.ifdef MAIN_LOCAL_INTERFACES
local_interfaces = MAIN_LOCAL_INTERFACES

# lsof -Pni:587
COMMAND   PID        USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
exim4   31337 Debian-exim    6u  IPv6 3133700      0t0  TCP
[2605:2700:0:2::4713:9eea]:587 (LISTEN)


The Readme has very little about other ports, but does say something
> about supporting broken mail clients with TLS port 465. It suggests
> "adding SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'
> in /etc/default/exim4 and "tls_on_connect_ports=465" in the main
> configuration section". That wouldn't work because I don't want port
> 25 on the IPv6 address, at least until I figure out what to add for
> IPv6 SPF records.
>


The config above listens on port 25 for localhost (IPv4 and IPv6), port 25
for the IPv4 address, and port 587 for the IPv6 address.

Are you using TLS with a self signed cert?
>


No, this is a bare config, enabled to handle the given use case. :)

Control questions:

1. Have you double-checked that you don't have any extraneous semicolons in
the config line?

2. Have you double-checked that there are no errors from the command
update-exim4.conf?

3. Have you double-checked that there are no errors in
/var/log/exim4/paniclog?
--
Jan