GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Other Examples |
# DEBIAN :0: * ^Resent-Sender.*[email protected] lists/debian-devel :0: * ^Resent-Sender.*[email protected] 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.*[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.