Re: [exim] Handling malformed header fields

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: 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