🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #236335

Re: 40tude filters xpost

#236335
From: Rom
Date: Mon, 05 Oct 2009 05:49
42 lines
2460 bytes
On Sun, 4 Oct 2009 21:46:05 -0700, richard wrote:

> Tried the following filter:
> !delete Xpost alt.usenet.kooks
> Syntax checks ok, does not work.
> Why?

See about halfway down the Scoring/Actions Syntax page in Dialog's
Help: <dialog.chm::/scoringactionsyntax.htm> where all the headers you
can use when retrieving headers are listed, which includes this:

| XPost      A virtual, numerical field holding the number of groups
| this message was posted to.

The "Xpost" /virtual header/ is for a rule to compare the number of
groups posted to is equal, greater or smaller than its given value,
e.g. !delete Xpost %>3
would delete all crossposts to more than 3 groups in group(s).

The header field most likely to use for your rule is "XRef", which is
the field listed above "XPost" on the Scoring/Actions Syntax page:

|  XRef      The contents of the XRef header field

Examples:

!delete Xref "alt.usenet.kooks"
would delete crossposts with "alt.usenet.kooks" in the Xref header.

!delete Xref {alt\.usenet\.kooks}
is a regular expression version of the first with the dot "." escaped,
see the Regular Expressions page <dialog.chm::/RegularExpressions.htm>
in Dialog's Help for (more) info.

!delete Xref "kooks"
would delete crossposts with "kooks" in the Xref header.

-- 
Rom

Dialog downloads (including updates), Script library, and FAQ:
<http://dialog.datalist.org>.
Technical Details
Message-ID: <1mxnush1gk9h4$.1fuygj4bm7xd0$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <kws4j6k6gdn7$.27miopu6m9iv$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1mxnush1gk9h4$.1fuygj4bm7xd0$.dlg@40tude.net>
Subject: Re: 40tude filters xpost
Date: Mon, 5 Oct 2009 16:49:26 +1100
From: Rom <-@-.invalid>
References: <kws4j6k6gdn7$.27miopu6m9iv$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 42
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Om1yMPph+1F067I606TvqQVS08Oh94Rljiv4NGHNDjjb7dPXqI
Cancel-Lock: sha1:1MdPQn8FEhL/EP1GQ/2/n4Rg1z4=
User-Agent: 40tude_Dialog/2.0.15.41
Archive: no
X-No-Archive: yes