Aaron,

Aaron Stone wrote:

Why are there only \n's between header lines? None of the code that I've run
on my system, in any combination of LMTP and SMTP, produces header lines
without carriage returns (as \r\n pairs). I'm *very* confused...

Are you running a snapshot with Ilja's latest header/body code?

Does this message parse correctly in Outlook?

The missing '\r's is because of my recent changes: In DBMail 1.x, dbmail-smtp inserted without '\r'. A lot of code in mime.c is quite dependent on reading the messages from the database without the carriage returns. This is wrong, but the code is not easily changeable (it should be refactored..). My recent changes make sure messages inserted with LMTP are stripped of the '\r' so all other functions still work.

Messages with \r\n as line ending were not correctly parsed in Outlook, because *somewhere* in the code, \r\n was changed to \r\r\n.

I hope this explains it :)

Ilja

Reply via email to