On Wed, 2006-05-03 at 03:17 +0200, DINH Viêt Hoà wrote:
Hello Timo and other dovecot-dev or users,
It looks like Dovecot accepts (with APPEND command) messages that
begins with 'From[SPACE]' line, which are not valid from RFC 2822 point of
view. Additionnally, Dovecot will store them as they are APPENDed, I mean with the starting 'From[SPACE]' line, which generates a bad Maildir
format.
The alternative would be to fail the operation completely. I don't see that as very good idea.
The message is normally in RFC 822 format, starting with a Return-Path line and a Delivered-To line, but it could contain arbitrary binary data. It might not even end with a newline.
Here the "could contain arbitrary binary data" looks to me like there aren't really any restrictions as to what the message could contain, including a From-line at the beginning :).