A sample .procmailrc:
The :0 begins a recipe. The following : ensures the mail
file is locked. A line beginning with * begins a condition. You
can have multiple conditions within a recipe. The condition
^Resent-Sender.*[email protected]
captures email sent to the debian-devel mailing list. This matches
messages that include
Resent-Sender: [email protected]
in their header. The final line of a recipe is the mailbox into
which procmail will send the mail.
Copyright © 1995-2006 [email protected]
|