http://bugzilla.spamassassin.org/show_bug.cgi?id=3605
Summary: rewrite_header will not rewrite a missing header
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: spamassassin
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
rewrite_header Subject *****SPAM*****
will not rewrite the supplied header if the email does not contain the header
specified.
Is this how it should be handled?? Should a missing Subject: header be added
by the MTA or SA?
WITHOUT Subject:
[EMAIL PROTECTED] include]# echo -e "From:\n\n<a
href='http://1.1.1.1/remove.cgi'>remove</A>\n" | spamc
From:
X-Spam-Flag: YES
X-Spam-Score: 7.2
WITH BLANK Subject:
[EMAIL PROTECTED] include]# echo -e "Subject:\nFrom:\n\n<a
href='http://1.1.1.1/remove.cgi'>remove</A>\n" | spamc
Subject: *****SPAM*****
From:
X-Spam-Prev-Subject:
X-Spam-Flag: YES
X-Spam-Score: 7.2
WITH Subject:
[EMAIL PROTECTED] include]# echo -e "Subject: test\nFrom:\n\n<a
href='http://1.1.1.1/remove.cgi'>remove</A>\n" | spamc
Subject: *****SPAM***** test
From:
X-Spam-Prev-Subject: test
X-Spam-Flag: YES
X-Spam-Score: 6.6
Dallas
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.