Re: [exim] Handling malformed header fields

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas Metzler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Handling malformed header fields
Murray S. Kucherawy <msk@???> wrote:
[...]
> The two cases that have been most interesting so far are:


> --
> From: foo@bar
> To: baz@blivit
> This is not a header field
> Subject: ha ha I fooled you
> Date: Fri, 22 Oct 2010 11:08:22 -0700


> This is where the body is
> --


> ...and


> --
> From: foo@bar
> To: baz@blivit
> MIME-Version : 1.0
> Subject: did you notice that extra space?
> Date: Fri, 22 Oct 2010 11:08:22 -0700


> This is where the body is
> --


> Obviously the issue has to do with how exim handles the two
> malformations found on the third line of each; in the first case
> it's not a valid header field line, and in the second case there's a
> space before the colon following the header field name.

[...]

In both cases the broken header is interpreted as the first body
line. (In case somebody is wondering: verify = header_syntax does not
make a difference.)

cu andreas