On Sun, Nov 28, 2010 at 02:13:11PM -0500, Wietse Venema wrote:

>  C:MAIL FROM:<wie...@porcupine.org> SIZE=338
>  C:RCPT TO:<postmas...@frontbridge.com>
>  C:RSET
>  C:QUIT
> 
>  S:221 2.0.0 Service closing transmission channel
> 
> Which means that Postfix reads the 221 as a positive reply to "MAIL
> FROM", and that Postfix reads EOF instead of the reply to "RCPT TO".
> 
> That is also consistent with my logging (lost connection with
> mail.global.frontbridge.com[216.32.180.22] while sending RCPT TO).
> 
> Victor, can you check this?

OK, turns out my original script used a function that automatically
flushed the output buffer, so it sent:

        pkt1: MAIL FROM:
        pkt2: RCPT TO:
              RSET
              QUIT

and the last three were combined in the kernel by Nagle's algorithm. After
switching to a fully buffered function I now see observe the same
behaviour you did. Also with the fully buffered code, all the other
tests behave as previously reported, including both the internal and
the Microsoft external gateway tests.

Thanks for the catch, indeed the FrontBridge SMTP server loses all
previous SMTP commands when pipelined with QUIT, with the exception
of message tranfer + DOT which can be pipelined.

-- 
        Viktor.

Reply via email to