On Mon, 14 Apr 2008, Matt Sergeant wrote:
On Sat, 12 Apr 2008, Radu Greab wrote:
I found a case where qpsmtpd-async detects the end of data marker
incorrectly: the previous packet did not end with CRLF and the current
packet starts with .CRLF. The code assumes that the previous packet
ended with CRLF.
Attached are a test script and a suggested patch.
So the test script is doing the wrong thing. Any "." at the start of a line
in SMTP needs to be "encoded" as ".." and the SMTP line processor decodes it
to a single dot.
So the test is wrong, and Qpsmtpd is doing the right thing in assuming the
end of data has been reached. At least as far as I can tell.
Ugh. Ignore me. Need more coffee :-)