Hi,

* Rian Hunter <[EMAIL PROTECTED]> [2006-01-17 16:43:07]:

> I just wanted to poll dev on how mod_smtpd should handle mail headers  
> after receiving the data command.
> 

[snip]

> 
> Does it seem like a good idea to save the extra line-break as the  
> beginning of the body or remove it before letting the plugins deal  
> with the body. Keep in mind that the reason it is like this now is to  
> keep the loop simple so it can also handle header-less messages (the  
> parser eats the bad data). Thanks!

The empty line is part of the mail general structure, used to split
the headers from the mail body. If you stick to this definition, the
mail body does not include this line.

IMHO, mod_smtpd should not save it and eventually put it back if it
has to join the headers and the body together later.

My 2 ยข,
- Sam
-- 
Maxime Petazzoni (http://www.bulix.org)
 -- gone crazy, back soon. leave message.

Attachment: signature.asc
Description: Digital signature

Reply via email to