can pan2 filter on arbitrary headers?
- From: John Stumbles <john.stumbles@xxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 10:07:54 GMT
I'm trying to configure pan 0.119 (which has new format config files in
~/pan2) to ignore the current crop of spam by looking at the
X-Complaints-To: field. I've added the following to my ~/News/Score:
%BOS
[comp.os.linux.misc]
Score:: =-9999
X-Complaints-To: ^newsadmin@hanaro\.com$
%EOS
%BOS
[comp.os.linux.misc]
Score:: =-9999
X-Complaints-To: ^abuse@rr\.com$
%EOS
(I escaped and regexp-ified the string to match by example from other
rules that pan itself had written to this file.)
However when I run pan from a shell I get error messages:
(article-filter.cc:39:get_header) pan 0.119 is misparsing "X-Complaints-To".
Please file a bug report to http://bugzilla.gnome.org/enter_bug.cgi?product=Pan
(repeated umpteen times) and the offending articles are still visible.
Pan documentation seems to be conspicuous by its absence :-(
Anybody know if what I'm trying to do is possible, and if so how?
--
John Stumbles
I forgot to take my amnesia medecine again
.
- Follow-Ups:
- Re: can pan2 filter on arbitrary headers?
- From: SINNER
- Re: can pan2 filter on arbitrary headers?
- Prev by Date: Naming harddisks (Linux)
- Next by Date: Re: c++, libraries, shell, headers, and a big mess!
- Previous by thread: Naming harddisks (Linux)
- Next by thread: Re: can pan2 filter on arbitrary headers?
- Index(es):