Sample .procmailrc file

Download this source file

VERBOSE=on
# auto reply:
:0 h c
* !^FROM_DAEMON
* !^From.*wpollock
* !^X-Loop: wpollock@YborStudent.hccfl.edu
| (formail -r -I"Precedence: junk" \
  -A"X-Loop: wpollock@YborStudent.hccfl.edu" ; \
 echo "Mail received." ; \
 echo -e "\n(This reply was generated automatically.)") \
 | $SENDMAIL -t

# Simple spam filter example:
:0:
* ^Subject:.*make.*money
/dev/null

# Better spam filter using SpamAssassin (www.spamassin.org):
:0fw: spamassassin.lock
* < 256000
| spamassassin

:0:
* ^X-Spam-Status: Yes
mail/spam

Send comments and questions to pollock@acm.org.
Valid HTML 4.01!   Valid CSS!   CAST: Bobby WorldWide Approved 508   CAST: Bobby WorldWide Approved AAA