From Schlake, Mon Mar 20 09:11:07 2000
On Mon, Mar 20, 2000 at 09:07:37AM -0700, Ray Piworunas wrote:
How would I setup a mail filter, for use with mutt, to automatically delete all messages to me that come from me so I don't have to read them or manually delete them?
In /u/ray/.procmailrc put this:
:0: <newline> * ^From[: ]*email@example.com <newline> * ^To[: ]*firstname.lastname@example.org <newline> /u/ray/deleted
Be sure to test it heavily. After you are sure it works, and seems to only put the correct mail into the deleted file, change it to deliver the mail to /dev/null instead.
For more on procmail see www.procmail.org.
William Colburn, "Sysprog" <email@example.com>
Computer Center, New Mexico Institute of Mining and Technology