ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] CHUNKING and PIPELINING

2021-03-09 14:47:32
On Mar 8, 2021, at 10:45 PM, Gene Hightower <gene(_at_)digilicious(_dot_)com> 
wrote:

I can pipeline QUIT after BDAT nnnn LAST to Google's servers and it
seems to work. Works with Microsoft/Outlook, too.

Thanks, I just tried it, and it worked for me as well.
Jeremy, was there perhaps a bug in your code?

[slightly obfuscated transcript]:

< 220 mx.google.com ESMTP m18si8702635qkn.9 - gsmtp
EHLO amnesiac.example
< 250-mx.google.com at your service, [192.0.2.1]
< 250-SIZE 157286400
< 250-8BITMIME
< 250-STARTTLS
< 250-ENHANCEDSTATUSCODES
< 250-PIPELINING
< 250-CHUNKING
< 250 SMTPUTF8
MAIL FROM:<nobody(_at_)example(_dot_)org>
RCPT TO:<nobody(_at_)gmail(_dot_)com>
< 250 2.1.0 OK m18si8702635qkn.9 - gsmtp
< 250 2.1.5 OK m18si8702635qkn.9 - gsmtp
BDAT 129
BDAT 0 LAST
QUIT
< 250 2.0.0 OK m18si8702635qkn.9 - gsmtp
< 250 2.0.0 OK m18si8702635qkn.9 - gsmtp
< 221 2.0.0 closing connection m18si8702635qkn.9 - gsmtp

A tcpdump confirms that pipelining took place:

25 > 34153: Flags [P.], length 53: SMTP: 220 mx.google.com ESMTP 
e16si7561792qts.371 - gsmtp
34153 > 25: Flags [P.], length 26: SMTP: EHLO amnesiac.example
25 > 34153: Flags [P.], length 168: SMTP: 250-mx.google.com at your service, 
[192.0.2.1]
34153 > 25: Flags [P.], length 64: SMTP: MAIL 
FROM:<nobody(_at_)example(_dot_)org>
25 > 34153: Flags [P.], length 42: SMTP: 250 2.1.0 OK e16si7561792qts.371 - 
gsmtp
25 > 34153: Flags [P.], length 42: SMTP: 250 2.1.5 OK e16si7561792qts.371 - 
gsmtp
34153 > 25: Flags [P.], length 158: SMTP: BDAT 129
25 > 34153: Flags [P.], length 42: SMTP: 250 2.0.0 OK e16si7561792qts.371 - 
gsmtp
25 > 34153: Flags [P.], length 42: SMTP: 250 2.0.0 OK e16si7561792qts.371 - 
gsmtp
25 > 34153: Flags [P.], length 58: SMTP: 221 2.0.0 closing connection 
e16si7561792qts.371 - gsmtp

-- 
        Viktor.

_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp