On Tue, 25 Jul 2006, Ruben van der Zwan wrote:

        Tested it with both Thunderbird and swaks, the output from swaks:
                -----------------------------------------------------
                <-  220 mail ESMTP qpsmtpd 0.33-dev ready; send us your
mail,                   but not your spam.
                 -> EHLO mail
                <-  250-mail8 Hi localhost [127.0.0.1]
                <-  250-PIPELINING
                <-  250-8BITMIME
                <-  250 STARTTLS
                 -> STARTTLS
                <-  220 Go ahead with TLS
                === TLS started w/ cipher AES256-SHA
                 ~> EHLO mail8
                <~* 500 Unrecognized command

First problem - EHLO is not recognized by qpsmtpd once TLS is negotiated. This is legal, but probably not what we want

                 ~> HELO mail8
                <~  250-mail Hi localhost [127.0.0.1]
                <~  250-PIPELINING
                <~  250 8BITMIME

Problem two - qpsmtpd is sending an ESMTP response to HELO.

                 ~> MAIL FROM:<[EMAIL PROTECTED]>
                <~* 503 but you already said HELO ...

Problem three - HELO response to MAIL FROM:

                 ~> QUIT
                <~* 250 <[EMAIL PROTECTED]>, sender OK - how exciting to get
mail                    from you!

Problem four, MAIL FROM: response is sent to QUIT.

It looks like there is some input buffering wrong. The HELO is still there after the HELO/EHLO dispatch, and is seen my MAIL FROM:

Reply via email to