Re: [exim] Little surprise with headers from DATA ACL and ex…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Alan J. Flavell
CC: Exim users list
Subject: Re: [exim] Little surprise with headers from DATA ACL and exiscan-acl
On Wed, 15 Dec 2004, Alan J. Flavell wrote:

> Now it's looking as if spamassassin isn't getting shown any headers
> that have been added by the DATA ACL. We've deliberately placed the
> first call of any spamassassin function /after/ the point where the
> headers would be generated, and the headers /can/ be seen in the
> resulting mail, located /before/ the spamassassin report; but
> presumably the mechanism is such that they aren't included in what is
> sent to spamassassin, since we're not seeing any spam-rating points
> from them.
>
> I guess this is "just the way things are"?


I'm afraid so. The headers that are added in an ACL are all batched up
(so that it can detect duplicates) and only actually added after the ACL
is finished (in the case of RCPT, after all the RCPTs are done). There
is a long-term Wish (been there at least a year, I think) to completely
revise the way header manipulations are done, so that they become more
instantly "visible". (At present, for instance, any headers you add in
one RCPT ACL are not visible for the next recipient.) Also some
re-design is needed to make it easier to play with headers. (Excuse: I
didn't forsee the amount of header munging that people would want to
indulge in.) However, I can't see this major project coming to pass in
the near or even medium-term future because there are too many other
things to get done.

-- 
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