[Dovecot] lmtp log message
I just tried switching to lmtp from lda. Messages are being delivered, but I now see messages similar to:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset)
in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration?
Daniel
Daniel L. Miller wrote:
I just tried switching to lmtp from lda. Messages are being delivered, but I now see messages similar to:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset)
in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration?
I'm using lmtp and getting a lot of these messages too:
Jul 27 07:35:30 10.129.3.213 dovecot: lmtp(22557): Disconnect from 127.0.0.1: Client quit (in reset)
Besides this issue http://dovecot.org/list/dovecot/2012-July/066794.html (LMTP timeouts about once a week) I do not have any problems with LMTP delivery.
So no need to worry, I would say.
Cheers Daniel
On 27.7.2012, at 9.01, Daniel L. Miller wrote:
I just tried switching to lmtp from lda. Messages are being delivered, but I now see messages similar to:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset)
in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration?
It's normal.
On 2012-07-28 18:36, Timo Sirainen wrote:
On 27.7.2012, at 9.01, Daniel L. Miller wrote:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset) in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration?
It's normal.
I'm not even sure it's noteworthy enough to justify logging it; if the message is going to be exactly the same in all (non error) cases, what's the point of logging it?
-- Med vennlig hilsen Bård Johannessen
On 28.7.2012, at 21.50, Bård Johannessen wrote:
On 2012-07-28 18:36, Timo Sirainen wrote:
On 27.7.2012, at 9.01, Daniel L. Miller wrote:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset) in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration?
It's normal.
I'm not even sure it's noteworthy enough to justify logging it; if the message is going to be exactly the same in all (non error) cases, what's the point of logging it?
Since LMTP is supposed to be accessible only internally from your network, maybe there isn't much of a point.. Maybe if DATA command is used it wouldn't be logged, but otherwise a QUIT would log "Client quit without delivering mail". Would be useful to get some opinions from more people though.
On 7/28/2012 12:01 PM, Timo Sirainen wrote:
On 28.7.2012, at 21.50, Bård Johannessen wrote:
On 2012-07-28 18:36, Timo Sirainen wrote:
On 27.7.2012, at 9.01, Daniel L. Miller wrote:
Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset) in my log for every message. Is this a normal sign-off - or does this indicate a misconfiguration? It's normal. I'm not even sure it's noteworthy enough to justify logging it; if the message is going to be exactly the same in all (non error) cases, what's the point of logging it? Since LMTP is supposed to be accessible only internally from your network, maybe there isn't much of a point.. Maybe if DATA command is used it wouldn't be logged, but otherwise a QUIT would log "Client quit without delivering mail". Would be useful to get some opinions from more people though.
To clarify - I see this message after EVERY message reception. My last log section is:
Jul 28 16:21:03 bubba assp/smtpd[27486]: connect from localhost[127.0.0.1] Jul 28 16:21:04 bubba assp/smtpd[27486]: EBBE1404015C: client=dovecot.org[193.210.130.67] Jul 28 16:21:05 bubba postfix/cleanup[27490]: EBBE1404015C: message-id=501473C0.2080106@starbridge.org Jul 28 16:21:05 bubba postfix/qmgr[20352]: EBBE1404015C: from=dovecot-bounces@dovecot.org, size=6944, nrcpt=1 (queue active) Jul 28 16:21:05 bubba dovecot: lmtp(26702): Connect from local Jul 28 16:21:05 bubba dovecot: lmtp(26702, dmiller@amfes.com): 16WjK+FzFFBOaAAA4TDHRA: sieve: msgid=501473C0.2080106@starbridge.org: stored mail into mailbox 'Lists/Dovecot-Users' Jul 28 16:21:05 bubba postfix/lmtp[27536]: EBBE1404015C: to=dmiller@amfes.com, relay=mail.amfes.com[private/dovecot-lmtp], delay=1.2, delays=0.99/0.01/0/0.2, dsn=2.0.0, status=sent (250 2.0.0 dmiller@amfes.com 16WjK+FzFFBOaAAA4TDHRA Saved) Jul 28 16:21:05 bubba assp/smtpd[27486]: disconnect from dovecot.org[193.210.130.67] Jul 28 16:21:05 bubba dovecot: lmtp(26702): Disconnect from local: Client quit (in reset) Jul 28 16:21:05 bubba postfix/qmgr[20352]: EBBE1404015C: removed
Everything looks clean - except that lmtp disconnect message. It may not be an error - or a warning - but it looks like one. If I need to change my configuration in either Postfix or Dovecot to "fix" it - please tell me so. Otherwise, if the message just read "Disconnect from local" to match with the initial connect it would be fine. But as it is
- it leaves me feeling I've got something setup wrong.
And indeed - do I? In Postfix, I've simply set my transport to use the lmtp via unix socket. I have NOT set a destination_recipient_limit - as I didn't think I needed to do so, unlike when use the lda via pipe. I had lmtp timeouts, so I set process_min_avail=5.
-- Daniel
On 29.7.2012, at 2.50, Daniel L. Miller wrote:
Jul 28 16:21:05 bubba dovecot: lmtp(26702): Disconnect from local: Client quit (in reset)
Everything looks clean - except that lmtp disconnect message. It may not be an error - or a warning - but it looks like one. If I need to change my configuration in either Postfix or Dovecot to "fix" it - please tell me so. Otherwise, if the message just read "Disconnect from local" to match with the initial connect it would be fine. But as it is - it leaves me feeling I've got something setup wrong.
It simply says that the LMTP client sent a QUIT command. Nothing wrong. Maybe it would be less bad looking without the "(in reset)" text?
participants (4)
-
Bård Johannessen
-
Daniel L. Miller
-
Daniel Parthey
-
Timo Sirainen