From: Eric d'Alibut on
Can exim be made to listen to two ports (587 and 25) on one ip?

I put this in /etc/default/exim4:

SMTPLISTENEROPTIONS='-oX 587:25'

Exim responded by generating a /var/log/exim4/paniclog file containing:

"socket bind() to port 25 for address [my local ip] failed: Address
already in use: daemon abandoned"

Interestingly enough smtp to port 587 worked despite this paniclog
entry. The existence of a "non-zero length" paniclog does however muck
up starting and stoping the daemon.

--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/u2i585bd7151005030741i62acac09y6e60a64ffebf86ed(a)mail.gmail.com
From: Camaleón on
On Mon, 03 May 2010 10:41:51 -0400, Eric d'Alibut wrote:

> Can exim be made to listen to two ports (587 and 25) on one ip?
>
> I put this in /etc/default/exim4:
>
> SMTPLISTENEROPTIONS='-oX 587:25'
>
> Exim responded by generating a /var/log/exim4/paniclog file containing:
>
> "socket bind() to port 25 for address [my local ip] failed: Address
> already in use: daemon abandoned"

As per "/usr/share/doc/exim4-base/README.Debian.gz" (lenny):

***
2.2.2. Enabling TLS support for Exim as server

"After this configuration, Exim will advertise STARTTLS when connected
to on the normal SMTP ports. Some broken clients (most prominent
example being nearly all versions of Microsoft Outlook and Outlook
Express, and Incredimail) insist on doing TLS on connect on Port 465.
If you need to support these, set 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.

The -oP is needed because Exim does not write an implicit pid file if
-oX is given. Without pid file, init script and cron job will
malfunction."
***

It seems you are missing the "-oP var/run/exim4/exim.pid" part.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.05.03.18.11.00(a)gmail.com
From: Eric d'Alibut on
On 5/3/10, Camaleón <noelamac(a)gmail.com> wrote:

> As per "/usr/share/doc/exim4-base/README.Debian.gz" (lenny):
> If you need to support these, set SMTPLISTENEROPTIONS='-oX 465:25 -oP
> var/run/exim4/exim.pid' in /etc/default/exim4

That was it; I needed the -oP option. Thanks.

--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/q2o585bd7151005041230m69cb4d1i98c1ba627a55cc7e(a)mail.gmail.com
 | 
Pages: 1
Prev: sync and collect clashing
Next: gvfs-fuse status?