[TriLUG] Procmail Help

Dean Price deano at price4.org
Wed May 3 16:33:42 EDT 2006


Ahhhh.... Thanks... it was the period that I wasn't getting...

Thanks
Dean Price

William Schulz wrote:
> 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