PATCH: Weird bounces with Postfix, LMTP and Cyrus

From: Wietse Venema (no email)
Date: Thu Dec 01 2005 - 09:38:51 EST

  • Next message: Christian Theune: "Re: Weird bounces with Postfix, LMTP and Cyrus"

    Wietse Venema:
    > Wietse Venema:
    > > Christian Theune:
    > > > Ok, I increased the log level and here is what I got for one of the
    > > > error messages:
    > > >
    > > > Dec 1 13:00:41 uter postfix/lmtp[4407]: deliver_message: from
    > > >
    > > > Dec 1 13:00:41 uter postfix/lmtp[4407]: >
    > > > /var/imap/socket/lmtp[/var/imap/socket/lmtp]: RSET
    > > > Dec 1 13:00:41 uter postfix/lmtp[4407]: <
    > > > /var/imap/socket/lmtp[/var/imap/socket/lmtp]: 500 5.5.2 Syntax error
    > > > Dec 1 13:00:41 uter postfix/lmtp[4407]: deliver_message: reusing
    > >
    > > Cyrus is screwed up. Postfix sends a valid RESET command.
    > >
    > > > (count 3) session with: /var/imap/socket/lmtp
    >
    > Surprise: the LMTP client reuses the session after 5xx error reply.
    > The Postfix SMTP client would never do that.
    >
    > You can work around this with lmtp_cache_connection=no.

    With the patch below, the Postfix LMTP client will not reuse
    a session after the RSET command gets a negative reply.
    There are versions for Postfix 2.2 and 2.3.

    It would still be interesting to learn if the delivery right before
    the above logfile fragment went well or not.

            Wietse

     





  • Next message: Christian Theune: "Re: Weird bounces with Postfix, LMTP and Cyrus"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD