My patch was for 3.8.0

But this patch only change \n to \r\n... (or I missed something)

My patch add a . on line start if the first character of a line is a .

Because in SMTP Sending This: <<<EOT
Hello World, this is a line with a
. on first char of the second line
EOT;

Must be done this way:<<<EOS
Hello World, this is a line with a
.. on first char of the second line
.
EOS;

And, this wasn't done on the 3.8.0 (i reported the bug sometimes ago, i
don't know if the \n to \r\n "bug" was corrected)...

I will test my patch tomorrow on the internal server, and push it on
"production" one after a few tests, because this bug is a data loss bug,
and this can cause trouble (i have some reccurent bugs with very long
URL)

However, thanks for your reply.

Xavier De Cock

Le vendredi 14 septembre 2007 à 11:09 +0300, Aleksander a écrit :
> Xavier De Cock wrote:
> > Here is a proposal fix for the bug (only on SMTP / LMTP protocol) where
> > we lose "." in a message if he is on the first position of a line (due
> > to lack of escaping)
> 
> Here's the one I've been using:
> 
> http://archive.netbsd.se/view_attachment.php?id=2536805.33465
> 
> The thread:
> http://archive.netbsd.se/?ml=dspam-dev&a=2006-11&m=2536805 (The whole 
> thread is split into three parts on the archive site).
> 
> 
> Btw, was your patch for 3.8.0? I hoped it was fixed already.
> 
> Regards,
> 
> 

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to