http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5076
Summary: Missing trimming of backslashes before # signs
Product: Spamassassin
Version: 3.1.4
Platform: PC
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
man Mail::SpamAssassin::Conf says:
"if the # character is to be used as part of a rule or configuration option, it
must be escaped with a backslash. i.e.: \#"
However, if you use \#, the backslash gets not stripped. For example:
I want a subject of:
Subject: ###SPAM### <original subject>
Thus I configure:
rewrite_header Subject \#\#\#SPAM\#\#\#
But now my subject reads:
Subject: \#\#\#SPAM\#\#\# <original subject>
This bug has been identified on the mailing list before:
Using a # character in a spam report
http://thread.gmane.org/gmane.mail.spam.spamassassin.general/83869
Header Tagging with # instead of *
http://thread.gmane.org/gmane.mail.spam.spamassassin.general/64667
Attached is a one-liner I wrote to work around this bug.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.