[antispam-f] Re: / in rules

  • From: Steven Pampling <steve.pampling@xxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Tue, 12 Dec 2006 17:45:15 +0000 (GMT)

On 12 Dec, Frank de Bruijn <antispam@xxxxxxxxxx> wrote:
> In article <8ba802944e.ricp@xxxxxxxxxxxxxxxxxxxxx>,
>    Richard Porter <ricp@xxxxxxxxxxxxxxxx> wrote:
> > How do you test for a slash (or //) in the operand of a rule? I can't 
> > see anything about slashes in the manual under the syntax of rules. 
> > When I try to test for a subject or sender containing // it doesn't 
> > work.

> For //, take a look at the StrongHelp page 'Comments in rules files'
> (Rules->Syntax->comments if you follow links from the first page).

> I think it's probably worth mentioning this on the 'Known problems and
> restrictions' page...

> A single slash should just work, though.

How about the regex version:
Delete Subject: Regex *//*

Unless the regex expression isn't being handled correctly that should work

so
Delete Subject: Regex *//www\.spamville\.com*
should delete all items with www.spamville.com in the subject.

-- 

Steve Pampling

Other related posts: