procmail
[Top] [All Lists]

Re: Multiple filters

2001-05-02 12:11:18
I tried that, the program seems that it does not execute the second filter. I remmed out the first filter and it works fine. Is there a syntax to tell the program to continue reading the rest of the filters???

Thanks


At 01:04 PM 5/2/01 -0500, John Patton wrote:
On Wed, May 02, 2001 at 10:39:45AM -0400, Monah Baki wrote:
> Below is my .procmailrc to filter unwanted attachments, but how do I add
> another filter for the domain flowgo.com.
>
> Thanks
>
>
> snip..........
>
> Received: from Mail14.mailer114.flowgo.com (mailer114.euniverse.com
> [64.124.202.114] (may be forged))
> Received: from MAIL14 (127.0.0.1) by Mail14.mailer114.flowgo.com
> (PowerMTA(TM) v1.0); Wed, 2 May 2001 06:46:11 -0700 (envelope-from
> <funone(_at_)flowgo(_dot_)com>)
> From: FunOne <funone(_at_)flowgo(_dot_)com>
>
>
>
>
> SHELL=/bin/ksh
> PATH=/bin:/usr/bin:/usr/local/bin
> :0 HB
> * ^Content-Disposition: attachment;
> *filename=".*\.(exe|vbs|shs|com|pif|bat|scr)"
> /dev/null
>
> :0 HB
> * ^From:. *(_at_)flowgo(_dot_)com
> /dev/null

You need to get rid of the space after the period in the
from line, like so:

    * ^From:(_dot_)*(_at_)flowgo(_dot_)com

The * matches the immediately preceeding character... you
want that to be the wildcard, not the space.

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

"Diplomacy is the art of letting someone else have your way."
- Daniele Vare

_______________________________________________
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>