SA Bugzilla – Bug 4966
[review] BSMTP broken - can lose mail
Last modified: 2006-07-18 02:18:32 UTC
Severity set to critical since mail will be bounced with common exim configurations. The patch in revision 349405 breaks BSMTP message parsing, such that "\n.\n" at EOF is no longer recognized as terminating the DATA section of the BSMTP message ("\n.\r\n" will still work, as will anything with more lines after the DATA block). As this is what is output by exim4, all my mail has been being bounced with a 421 error since I upgraded to 3.1.3. I will attach a patch momentarily that seems to fix the problem.
Created attachment 3557 [details] Patch to fix this bug. Here's the patch.
Hrm, my "CLA Status" icon is incorrect. See bug 2667, comment #2.
yeah, this needs to be fixed. thanks for the patch! also, updated yr CLA status. applied to trunk: Sending spamc/libspamc.c Transmitting file data . Committed revision 421289. committers, votes for 3.1.x please...
Hrm. This section of code always seems to cause us problems. If I follow things, I think it looks good. +1 We should have some tests to check for all these corner case things (see bug 4593, etc.)
Just looking at this, too. It seems to work. I hate C. +1
thanks guys. I agree we should have tests for this. we really really should ;)
oops! forgot to commit it!! on b3_1_0 as r423021.