[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Rejecting/Selecting posts to download...

Russell J. Romano wrote:

> I've had leafnode working for several days now... however I'd like to
> restrict its behavior in a manner that doesn't seem to be supported.  I would
> like to have the ability to reject (or select) posts based on the description
> line.  

I suppose you are talking about the Subject: header.

You can globally filter postings for any arbitrary header by using the
filter file. For example,

^Subject: *.leafnode

will reject all postings which have "leafnode" in the Subject: header. It
will NOT reject postings with "Leafnode" or any other capitalized spelling.

The README contains a somewhat more elaborate section about the filter
file, and the format of the regular expressions is explained in pcre(7)
which comes with the latest version of leafnode (1.9.3).

The filter file has currently two disadvantages. First, it is not possible
to filter only selected newsgroups. Second, it is not possible to select
postings based on a header.


/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list