[TriLUG] Procmail Help

William Schulz sws at trilug.org
Wed May 3 16:31:43 EDT 2006


On Wed, May 03, 2006 at 04:18:43PM -0400, Dean Price wrote:
> I know that this is probably procmail 101 but...
> 
> I have the following in my .procmailrc:
> 
> 
> :0
> * ^Subject: \[Vantage\] *
> $MAILDIR/Vantage
> 
> This filters all mail that begins with "[Vantage]", but the mail that 
> has "Re: [Vantage]" does not filter

If you want it to match that string anywhere in the line, change it to:

* ^Subject:.*\[Vantage\]

The last asterisk is unnecessary as well.

SWS




More information about the TriLUG mailing list