procmail
[Top] [All Lists]

Re: problem with rule and logging question

1999-01-06 23:02:06
On Sun, 3 Jan 1999, Walter Dnes wrote:

On Fri, 01 Jan 1999 04:49:57 -0800, Jerry Preeper
<preeper(_at_)cts(_dot_)com> wrote:

I have the following rule in one of my rc. files and it doesn't
seem to be catching the junk mail

:0B:
* ^^(This is a one-time only email)
! spam(_at_)domain(_dot_)com
  That would catch only occurences at the *VERY BEGINNING* of the
body.  Shouldn't you be looking for it anywhere in the body?  Also,
there may or may not be a hyphen in "one-time", so a dot (which
matches any 1 character) might work better.  I would suggest
something like...
:0B:
* This is a one.time only (email|offer)
! spam(_at_)domain(_dot_)com

Don't forget that this does not need to be on one line either.  You might
want to test to see if there are any line breaks between these words.

-- 
"It's Like This"

Even the samurai
have teddy bears,
and even the teddy bears
get drunk.