Re: [exim] LMTP connection - how to debug?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] LMTP connection - how to debug?
On 07/11/2018 23:21, Naoyuki Tai via Exim-users wrote:
> netstat -an | grep LISTEN | grep 2003
> prints out a line, and when I do
>
> telnet localhost 2003
> Trying ::1...
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 mailserver Cyrus LMTP 2.5.10-Debian-2.5.10-3ubuntu1 server ready
>
> So, it looks like lmtpd TCP socket seems working all right.


I assume that is cyrus on the port it's expecting the lmtp feed on.

> Nov 7 15:21:23 mailserver exim[28104]: 2018-11-07 15:21:23 Start queue
> run: pid=28104
> Nov 7 15:21:23 mailserver exim[28107]: 2018-11-07 15:21:23
> 1gKIxS-0006X5-KE H=localhost [::1] Connection refused
> Nov 7 15:21:23 mailserver exim[28107]: 2018-11-07 15:21:23
> 1gKIxS-0006X5-KE H=localhost [127.0.0.1] Connection refused
> Nov 7 15:21:23 mailserver exim[28106]: 2018-11-07 15:21:23
> 1gKIxS-0006X5-KE == root@??? R=local_user T=cyrus_ltcp
> defer (111): Connection refused
> Nov 7 15:21:23 mailserver exim[28104]: 2018-11-07 15:21:23 End queue
> run: pid=28104


Presumably your cyrus_ltcp transport has a port option. Check it
is set to the expected one.

If you want the port logged, add outgoing_port to your log_selector.
--
Cheers,
Jeremy