Am 04.03.2013 02:22, schrieb Lu Wei:
> Hi,
> Recently I noticed that a cross-post spammer sneaked in. Please help checking what may be the cause.
> My score file is
>
> [*]
> -10 Xpost %>3
help => Contents => Search 'XPost' => Scores.hst:
| The fictitious header-field Xpost is based on Xref and represents
| the number of groups, the article was crossposted to.
> Newsgroups: cn.bbs.comp.linux,cn.bbs.soc.taiwan,cn.bbs.comp.lang.python,cn.fan
Contrary to possible expectations this header is meaningless.
And here, there are only 2 groups; i. e. your condition was not met.
The simple reason for this maybe unexpected behaviour is, that the
Newsgroups header is *not* content of the overview, but the XRef header
*is*.
Usually the difference becomes important only, if the server does not
provide all of the groups being listed in the Newsgroups header.
If you want to investigate the 'real' Newsgroups header instead, you at
first need to test the email *after* the article was loaded (i. e. the
rule must be lead in by a '?'), and at second you have to count the
separators (i. e. ',') there:
| ?-10 Newsgroups {([^,]+,){3}}
Wolfgang
--