On Fri, Sep 26, 2003 at 03:57:30PM -0500, gkrueger wrote:
> Assume that both Fred and bill are vaild users on the system, here's
> my file .procmailrc:
> 
>        ===================
> :0:
> * ^(From | Cc | To):.*Fred at bozo.com
> !  Fred
> 
> :0:
> * ^(From | Cc | To):.*Bill at bozo.com
> !  Bill
>        ====================
> 
> Any ideas?  I haven't played with procmail much before this so I could 
> easily be missing pieces.  Thanks!

Use the "c" flag if you want the mail to "continue" processing with
subsequent recipes.  ":0:" is a delivery recipes; if the match occurs,
and the email is sent, processing stops.

Also remember that spaces are important.  Your recipes should look like
this:

:0 c:
* ^(From|Cc|To):.*Fred at bozo\.com
! Fred

:0:
* ^(From|Cc|To):.*Bill at bozo\.com
! Bill

# Strange recipe, by the way. ;-p

-- 
Chad Walstrom <chewie at wookimus.net>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030926/abee2af6/attachment.pgp