SA Bugzilla – Bug 2495
Filter Gnus annotations in Bayes.pm
Last modified: 2003-09-28 01:09:38 UTC
The following patch makes sa-learn ignore some headers added by Gnus: --- Bayes.pm 2003-09-19 19:24:56.000000000 +0200 +++ /usr/share/perl5/Mail/SpamAssassin/Bayes.pm 2003-09-19 19:28:21.000000000 +0200 @@ -111,6 +111,9 @@ $IGNORED_HDRS = qr{(?: (?:X-)?Sender |X-VM-(?:Bookmark|(?:POP|IMAP)-Retrieved|Labels|Last-Modified |Summary-Format|VHeader|v\d-Data|Message-Order) + # Annotations from Gnus: + |X-Gnus-Mail-Source + |Xref )}x; # Note only the presence of these headers, in order to reduce the
fixed, backport? it's not that necessary a fix... but its pretty trivial
+1
committed for 2.61