You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/11/06 01:28:08 UTC
[Bug 3816] Add an X-header to know when added a Subject header
http://bugzilla.spamassassin.org/show_bug.cgi?id=3816
------- Additional Comments From jm@jmason.org 2004-11-05 16:28 -------
Created an attachment (id=2509)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2509&action=view)
implementation of fix
OK, here's the fix, as per Sidney's comment that we all seemed to agree on at
last ;)
quick notes:
- it uses a magic string, "(nonexistent)", in the X-Spam-Prev-Subject header
to indicate that the header didn't exist previously
- it will *not* remove the Subject header if the X-Spam-Prev-Subject contains
"(nonexistent)" but the Subject does not; so avoiding whatever the forging
issue was
- it documents the behaviour in M:SpamAssassin:Conf
- there's a t script to test it
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.