On Wed, 09 Jan 2008 13:07:14 -0500, George Czerw wrote: > On Wednesday 09 January 2008 12:00:40 > [EMAIL PROTECTED] wrote: >> Date: Wed, 9 Jan 2008 02:06:11 +0000 (UTC) From: Lionel B >> <[EMAIL PROTECTED]> Subject: >> [Pan-users] Re: Filters >> To: pan-users@nongnu.org Message-ID: >> <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8 >> >> On Tue, 08 Jan 2008 17:12:27 -0800, Phil wrote: >> > --- Lionel B wrote: >> >> On Sat, 29 Dec 2007 08:09:08 -0800, carl wagner wrote: >> >> > Is where away to filter out incoming post, i.e >> >> >> >> MI5-Persecution: stuff >> >> >> >> > within pan? >> >> >> >> I just hacked up (pan 0.132): >> >> >> >> %BOS >> >> %Score created by Pan on Wed Jan 2 13:07:12 2008 [*] Score:: =-9999 >> >> Subject: M.I.5.P.?e.?r.?s.?e.?c.?u.?t.?i.?o.?n.* %EOS >> >> >> >> Seems to do be doing the job at the moment, at least till he gets >> >> more sophisticated at scrambling his subject line... >> > >> > He keeps interposing one of .'`-. between chars of M I 5 in varying >> > permutations, which mucks up my poor simple filter for some reason, >> > unless I just knock out all crospostyers to more tha 4 or 5 groups >> > (hey - not a bad idea anyway). >> > >> > Can this filter deal with that? >> >> Yes, for the moment. It's a regular expression: the . matches any >> single character and the .? matches zero or one of any single >> character. >> >> > Also you may want to include "victim" as an alternative to >> > "persecution". >> >> If he starts using it again... >> >> > The nutjob keeps putting a space between different letters of victim >> > or persecution. I wonder if it's automated - is this comming from a >> > spamming prog? >> >> No, it's coming from a paranoid human. See: >> >> http://en.wikipedia.org/wiki/MI-5_Persecution >> >> There's even a regular expression filter there (probably better than >> mine). > > I tried Lionel's filter expression and it works (insofar as getting Pan > to score the articles at -9999), however the headers still show up in > the subject. Should they??? ..or should they disappear from view??? > > Using the filter expression shown in the wikipedia article does nothing.
The filter expressions seems to work for me, without the curly braces that is: %BOS %MI5 Persecution (see http://en.wikipedia.org/wiki/MI-5_Persecution) [*] Score:: =-9999 Subject: M[',-`. ]I[',-`. ]5[',-`. ]P %EOS _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users