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

Re: [leafnode-list] Blocked Senders Feature ?



On Mon, Feb 05, 2001 at 10:41:24PM +0000, Nuno Nunes wrote:
> I've tried adding :
> 
> ^From:*user@domain*

Leafnode uses Perl Compatible Regular Expressions (PCRE) for
pattern matching. In PCRE an asterisk (*) matches zero or more
times the previous character, i.e. the colon (:) in your case.
The placeholder for arbitrary characters is the period (.). So
your regex has to look like this:

^From:.*user@domain

The last asterisk is not needed.

> How can I block a particular article based on "From" and "Subject" headers in 
> Leafnode ?

leafnode-1.* does not support boolean operations on filter rules.
Combinations of From: and Subject headers are thus not possible.

Regards,
        Jo:rg

-- 
Fortune cookie of the day:
It may or may not be worthwhile, but it still has to be done.

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