[exim] LMTP connection - how to debug?

Página Inicial
Delete this message
Reply to this message
Autor: Naoyuki Tai
Data:  
Para: Exim-users
Assunto: [exim] LMTP connection - how to debug?
Hello,

I am having a bit of problem with exim4 talking to Cyrus
lmtpd.

I have been using Cyrus and Exim for last 10+ years or so,
and I just set up a new host. New hardware with fresh
Ubuntu server 18.04 LTS installed.

Cyrus IMAP as imap server is working. I can connect to the
IMAP from client. 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 get mails using fetchmail, it is sent to exim, and exim
sends it to Cyrus.

>From /var/log/mail.log


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

EXIM says "connection refused". I know, if you do plain TCP connection
(like telnet), it does connect.

How can I debug this?
I want to know why Exim says "connection refused".

As I said, although this is a new box, I've done this (with virtually
identical set up) many times over years. This is the first time
exim is giving me a hard time.

For info - cyrus lmptd is running using "lmtpd -a" which I learned
from https://github.com/Exim/exim/wiki/CyrusImap
so, the authentication of lmtp connection shouldn't be the problem.

Thanks.

-- Tai