Re: [exim] Invalid header lines

Top Page
Delete this message
Reply to this message
Author: Kjetil Torgrim Homme
Date:  
To: Nikolaus Rath
CC: exim-users
Subject: Re: [exim] Invalid header lines
On Wed, 2006-08-30 at 09:37 +0200, Nikolaus Rath wrote:
> I have the strange problem that for some incoming mails, exim
> apparently messes up the header lines:
>
> [...]
> X-Spam-Status: No (-1.0 points)
> No (-1.0 points)
> [...]
>
> So the value of the spam status header is repeated on its own line.
> This causes the delivery to cyrus to fail.
>
> What can be the reason for this? I have the following header related
> options in my config:


I trust the following line was corrupted by your mail client:

> headers_remove = X-Spam-Score:X-Spam-Report:X-Spam-Checker-Version:X-Spam-Status:X-Spam-Le headers_add = X-Spam-Status: $h_x-836-spam-status


what does it really look like?

> Or is it possible that the mail is already delivered to exim with the
> broken line? If so, why doesn't exim refuse the mail?


Exim will see a non-header as the start of the body, and add an empty
line in front of it. so the message wasn't like this when it arrives
from the outside.

--
Kjetil T.