procmail
[Top] [All Lists]

Selective Message Storage

2001-05-30 20:22:17
I have a list of people (bad people) in a file: ~/.badpeople
I want to be able to route mail from those people into a folder called
~/Mail/badpeople. This is really similar to a killfile, except that I
want to save their messages to one place. The standard killfile recipe:

:0 W: $HOME/.badpeople.lock
| egrep -i -f $HOME/.badpeople

only serves to lose their mail, not store it somewhere. But the egrep
line here appears to be the starting point. Anyone know how to do this
using a list of email addresses from a file, as above?

Paul

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