Bug 5819 - Giving plugins access to old X-Spam headers
Summary: Giving plugins access to old X-Spam headers
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: 3.2.4
Hardware: All All
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 03:21 UTC by Mathias Hermansson
Modified: 2019-10-02 11:02 UTC (History)
3 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Hermansson 2008-02-10 03:21:54 UTC
In current versions of SpamAssassin spamd/spamassassin removes X-Spam headers
before giving access to the message to plugins. This is usually a good thing,
but when you want to revoke or report a false positive, having saved a signature
or something else in the X-Spam headers, there is no way to get that information
back.

Would it be possible to present the message in its prestine format, and leave it
up to the plugins to discard or not discard the old headers?
Comment 1 Henrik Krohns 2019-10-02 11:02:38 UTC
One can use get_pristine_header() and check old headers from there. Closing.