Bill Jenuwine <wjenuwin(_at_)ford(_dot_)com> writes:
I have set up some procmail recipes to dump any spam/junk email to
/dev/nul. My recipes look like this
:0 : nuldev
* ^From.*natureplus.com
| /dev/null
/dev/null is a file (well, a device that you treat as a file), not a
program. You should remove the '|'. Also, why are you using a
locallockfile? Do you not want to corrupt the mail that you're
throwing away?
For a minor improvement in speed, you can use the 'h' flag to tell
procmail to not bother writing the body of the message to /dev/null,
but rather only write the header.
:0 h
* ^From.*natureplus.com
/dev/null
Philip Guenther