On Mon, 5 Apr 2010, Charlie Brady wrote:
> Can you give an example of the SMTP transaction (the input to the
> server)
> that gives the unexpected result?
>
I did a simple transaction over telnet and port 25:
--------------
HELO localhost
MAIL FROM:<f...@domain.tld>
RCPT TO:<t...@domain.tld>
DATA
FROM:<f...@domain.tld>
TO:<t...@domain.tld>
SUBJECT: Just a test
This is a test.
.
[just pressing ENTER here]
RSET
QUIT
--------------
QPSMTPD does not separate the body from the header. Doing the same on a
Postfix SMTPD adds a separate line between the header and the body.
Your message is not a valid RFC 2822 message.
http://www.faqs.org/rfcs/rfc2822.html
Your message can only be interpreted as one with no body, and with one
invalid header "This is a test".
Note that qpsmtpd probably should reject the message as invalid format. If
it doesn't do that in the core, at least a standard plugin should do that
validation.