-##################################################################
-# SPAM filter. I don't like spam. I just don't #
-##################################################################
-
-# Here we search a file with a list of people we _never_ want to
-# get anything from, tossing the mail if it's from one of them.
-# SPAMMERS is set and described above.
-# Note, you can use the following line instead to be even more
-# strict, they can't have even relayed it via an adress in the
-# spammers file:
-# * ? (formail -x From: -x Sender: -x Reply-To: -x Received: | fgrep -iqf $SPAMMERS)
-:0:
-* ? (formail -x From: -x Sender: -x Reply-To: | fgrep -iqf $SPAMMERS)
-| formail -A "X-SPAM-RULE: address found in spammers file" >> $SPAM
-
-# look for X-Advertisement header or 'advertisement' in the subject,
-# accounting for possible sp. error. "Nice" spammers use this header.
-:0:
-* ^X-Adverti[sz]ement:
-| formail -A "X-SPAM-RULE: X-Advertisement header" >> $SPAM
-
-:0:
-* ^Subject:.*adverti[sz]ement
-| formail -A "X-SPAM-RULE: Advertisement in subject" >> $SPAM
-
-# snag the To: and From: headers
-TO=`formail -zx To:`
-CC=`formail -zx Cc:`
-FROM=`formail -zX From: | formail -zrx To:`
-
-# no To: line AND no Cc: line. You could filter out anything with no To:,
-# but there are lots of mailinglist idiots who Cc the list and don't To:
-# anyone ;-)
-:0:
-* TO??^$
-* CC??^$
-| formail -A "X-SPAM-RULE: no To: or Cc: header" >> $SPAM
-
-# bogus pegasus header, very common with spammers, and I've never
-# seen it used by anyone else.
-:0:
-* ^Comment: Authenticated sender is
-* ! ^X-Mailer: Pegasus
-| formail -A "X-SPAM-RULE: bogus pegasus header" >> $SPAM
-
-#large number of spaces then number in subject
-:0:
-* ^Subject:.*\ \ \ \ \ \ \ \ \ [0-9][0-9]+
-| formail -A "X-SPAM-RULE: too many spaces followed by number in subject" >> $SPAM
-
-#laser toner cartridges. (I mean, come, on!)
-:0:
-* ^Subject: laser cartridges
-| formail -A "X-SPAM-RULE: laser cartridges suck" >> $SPAM
-
-}
-