Re: [exim] Spam Reason message

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Michael Haardt
CC: exim-users
Subject: Re: [exim] Spam Reason message
On Thu, 7 Apr 2005, Michael Haardt wrote:

> > > warn message           = This message contains SPAM

> >
> > The argument to message after a warn verb must be an RFC 822 header, e.g.
> >
> > warn message = X-Spam: canned pork offcuts
>
> Perhaps Exim should check it does and panic otherwise. It is easy
> to get this wrong when working on ACLs.


It does check. It doesn't panic. From the doc:

If an identical header line is requested several times (provoked, for example, |
by multiple RCPT commands), only one copy is actually added to the message. If |
the text of the "message" modifier contains one or more newlines that are not  |
followed by a space or a tab, it is assumed to contain multiple header lines.  |
Each one is checked for valid syntax; "X-ACL-Warn:" is added to the front of   |
any line that is not a valid header line.                                      |



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book