[Dovecot] lmtp log message
Daniel L. Miller
dmiller at amfes.com
Sun Jul 29 02:50:51 EEST 2012
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: connect from localhost[127.0.0.1]
Jul 28 16:21:04 bubba assp/smtpd: EBBE1404015C:
Jul 28 16:21:05 bubba postfix/cleanup: EBBE1404015C:
message-id=<501473C0.2080106 at starbridge.org>
Jul 28 16:21:05 bubba postfix/qmgr: EBBE1404015C:
from=<dovecot-bounces at 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 at amfes.com):
16WjK+FzFFBOaAAA4TDHRA: sieve: msgid=<501473C0.2080106 at starbridge.org>:
stored mail into mailbox 'Lists/Dovecot-Users'
Jul 28 16:21:05 bubba postfix/lmtp: EBBE1404015C:
to=<dmiller at 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 at amfes.com> 16WjK+FzFFBOaAAA4TDHRA Saved)
Jul 28 16:21:05 bubba assp/smtpd: disconnect from
Jul 28 16:21:05 bubba dovecot: lmtp(26702): Disconnect from local:
Client quit (in reset)
Jul 28 16:21:05 bubba postfix/qmgr: 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.
More information about the dovecot