On Sunday 30 November 2008 7:22 am, Nikita Kipriyanov wrote:
> Hello,
>
> SpamAssassin tags mail with headers X-Spam-.... But, what if there were
> some headers like these, as with mail that already passed someones
> SpamAssassin and has X-Spam-Score, before being recieved by my server?
>
> Will it remove them, replace them or simply add new ones? In the latter
> case, how do I tell headers, added by my SpamAssassin, from headers,
> that were there before my mail server?

I use procmail and have a formail recipe within my procmail.rc that prepends 
"Old" to X-Spam headers from other servers:

Tp -i headerfield Same as -A, except that any existing similar fields are 
renamed by prepending an ``Old-'' prefix. If headerfield consists only of a 
field-name, it will not be appended. 

:0Wfh
*^To:[EMAIL PROTECTED]
| formail -i "X-Spam"

-- 
Chris
KeyID 0xE372A7DA98E6705C

Attachment: pgpep2SfDnnQb.pgp
Description: PGP signature

Reply via email to