Author: Jeremy Harris Date: To: exim-users Subject: Re: [exim] Exim stucks after bdat command when sending to google
On 31/03/2021 12:56, Evgeniy Berdnikov via Exim-users wrote: > Small remark. The session log is:
>
> SMTP>> MAIL FROM:<**DELETED**> SIZE=151847
> SMTP>> RCPT TO:<**DELETED**>
> will write message using CHUNKING
> SMTP>> BDAT 7789
> SMTP<< 250 2.1.0 OK t18si12300997ejj.437 - gsmtp
> SMTP<< 250 2.1.5 OK t18si12300997ejj.437 - gsmtp
> SMTP<< 250 2.0.0 OK t18si12300997ejj.437 - gsmtp
> SMTP>> BDAT 143035 LAST
>
> BDAT sizes are 7789+143035=150824, but MAIL FROM contains SIZE=151847.
> They should be equal, isn't it?
No; the sending Exim does not have perfect information about the
message size as it will be transmitted, at the the time the MAIL
command goes out.
--
Cheers,
Jeremy