A sample .procmailrc:
# DEBIAN
:0:
* ^Resent-Sender.*debian-devel-request@lists.debian.org
lists/debian-devel
:0:
* ^Resent-Sender.*debian-user-request@lists.debian.org
lists/debian-user
|
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.*debian-devel-request@lists.debian.org
captures email sent to the debian-devel mailing list. This matches
messages that include
Resent-Sender: debian-devel-request@lists.debian.org
in their header. The final line of a recipe is the mailbox into
which procmail will send the mail.
Copyright © 1995-2006 Graham.Williams@togaware.com
|