SA Bugzilla – Bug 2395
Removing custom headers?
Last modified: 2003-12-29 13:16:51 UTC
In clean_spamassassin_headers(), should spamassassin also attempt to remove any custom headers that the local installation is about to add?
Created attachment 1302 [details] Patch
Created attachment 1303 [details] Better patch
Please don't change the milestone -- only devs may :)
the patch might as well remove the previous delete lines as they won't be needed if we make this change
well, I like the idea, but it's only going to be hairy since headers are arbitrary now. I'd just remove the X-Spam-* headers and call it good.
assigning 2.61 milestone
> the patch might as well remove the previous delete lines as they won't be > needed if we make this change nevermind this, the current patch will be better about deleting headers since $self->{conf}->{headers_spam} and $self->{conf}->{headers_ham} may be missing some headers normally added by SpamAssassin. +1 1303
+1 1303, I'm still not certain, but think we should look at removing X-Spam-* headers in general. But at a minimum, we should remove the headers which the current configuration adds. so I think we can commit 1303, but afterwards move this ticket back to 2.70 for further discussion.
ok, 1303 committed. switching back to 2.70 for later discussion.
The code currently deletes X-Spam-*