[Dovecot] maildir format

Timo Sirainen tss at iki.fi
Wed May 3 13:25:58 EEST 2006


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 :).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060503/a5772b24/attachment.pgp


More information about the dovecot mailing list