procmail
[Top] [All Lists]

Filtering Multiple Mailing Lists

1997-07-07 14:14:00
I subscribe to three mailing lists and would like procmail to sort mail
from each list into separate MH-style mail folders.  The problem is that
some messages are sent to two (and, rarely, three) of the lists, and my
current procmail setup only sends it to one of my list repositories.  (If a
message goes to two lists, I'd like to copy the message to both MH mail
boxes.)

My current .procmail file includes:

INCLUDERC=$MAILDIR/rc.list1
INCLUDERC=$MAILDIR/dot/rc.list2
INCLUDERC=$MAILDIR/itsl/rc.list3

...and each of the individual rc.* files looks like this:

        :0:
        * ^TOlist1
        $HOME/mhamail/list1/IN.list1/.

If I change the rc.list1 and rc.list2 recipes to "copy mode"  (i.e., :0c),
will that let the subsequent rc.* files process the message also?  
If this is the correct solution, should I use a lock file (e.g., ":0c:" for
this type of copy process?

Thanks for all help.

Jerry

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