[Dovecot] Incorrect Responses on deliverable mails with LMTP server

Michael Grimm trashcan at odo.in-berlin.de
Mon Nov 11 20:17:24 EET 2013

Thomas Leuxner <tlx at leuxner.net> wrote:

> Appears some change between 2.2.6 and 2.2.7 altered the response codes for LMTP user verification probes.
> Dovecot 2.2.6:
> Nov  2 15:50:48 spectre postfix/qmgr[627]: 3dBjr80wMgz1s: from=<double-bounce at spectre.leuxner.net>, size=271, nrcpt=1 (queue active)
> Nov  2 15:50:48 spectre postfix/cleanup[6226]: 3dBjr80xbYz1w: message-id=<20131102145047.2D3C6824147 at sam.dfn-cert.de>
> Nov  2 15:50:48 spectre postfix/lmtp[6228]: 3dBjr80wMgz1s: to=<tlx at leuxner.net>, orig_to=<security at leuxner.net>, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=0.03, delays=0/0.01/0.01/0.01, dsn=2.1.5, status=deliverable (250 2.1.5 OK)
> Dovecot 2.2.7:
> Nov  5 05:24:04 spectre postfix/qmgr[627]: 3dDHnc5J06z1s: from=<double-bounce at spectre.leuxner.net>, size=271, nrcpt=1 (queue active)
> Nov  5 05:24:04 spectre postfix/smtpd[2484]: 3dDHnc5KWcz1w: client=web.heise.de[]
> Nov  5 05:24:04 spectre postfix/cleanup[2489]: 3dDHnc5KWcz1w: message-id=<E1VdXxN-0002Gx-0s.01 at web.heise.de>
> Nov  5 05:24:04 spectre postfix/lmtp[2491]: 3dDHnc5J06z1s: to=<tlx at leuxner.net>, orig_to=<newsletters at leuxner.net>, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=0.03, delays=0/0.01/0.01/0, dsn=4.4.2, status=undeliverable (lost connection with spectre.leuxner.net[private/dovecot-lmtp] while sending MAIL FROM)
> While it still seems to work, mail gets delivered, it looks pretty ugly in the logs.

Interesting, but how can those mails become delivered with a "status=undeliverable"? Except, that you don't use reject_unverified_recipient in your smtpd_recipient_restrictions, true?

Jan and myself need explicit "warn_if_reject reject_unverified_recipient" in postfix' smtpd_recipient_restrictions ...
... to get such mails delivered.


More information about the dovecot mailing list