Author: Last Man Standing
Email: mike@vu.com
Date Submitted: Thur, Apr 16, 1998
Edited By: Magnus Schoultz da96scma@ing.hj.se
Status: New Entry
Releases: | 5.0 and 4.x |
Platform: | all |
Category: | |
Category Listing: | How do I filter my incoming email? |
Procmail is a program that is invoked automatically as soon as mail arrives. When invoked it looks for file named $HOME/.procmailrc. According to the processing recipes in this file, the mail message that just arrived gets distributed into the right folder (and more). If no rcfile is found, or processing of the rcfile falls off the end, procmail will store the mail in the default system mailbox.
- use following rule in ~/.procmailrc to append incoming mail from the devnull mailing list to the file "devnull" with only the "From:", "Subject:", and "Date:" header lines.
:0 * ^From: Nev Dull | formail -k -X From: -X Subject: -X Date: >> devnull
manpages
procmail(1), procmailrc(5), procmailsc(5), procmailex(5), formail(1)