SA Bugzilla – Bug 5819
Giving plugins access to old X-Spam headers
Last modified: 2019-10-02 11:02:38 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?
One can use get_pristine_header() and check old headers from there. Closing.