procmail
[Top] [All Lists]

Re: Subject Filter

2001-04-04 09:04:18
On Wed, Apr 04, 2001 at 11:57:42AM -0300, Corey Mosher wrote:
I tried using the following in my procmailrc:

:0:
* ^Subject:hello there everybody
$MAILDIR/test

It doesn't seem to work, what am I doing wrong?

try:

    :0:
    * ^subject:.*hello there everybody
    test

The condition line (after the *) is a regular expression...
use the .* to specify any amount of stuff before the "hello
there..." part. Note that by default the regular expression
is case insensitive. Also, you don't need to specify
$MAILDIR... it's automatic.

-- 
John Patton                      patton66(_at_)home(_dot_)com
Get my GnuPG public key: finger john(_at_)24(_dot_)22(_dot_)215(_dot_)225

"To be or not to be. That's not really a question."
- Jean Luc Godard
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>