Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format

#Uncomment the following lines and use tail -f procmail.log to debug
#LOGFILE=$HOME/procmail.log
#VERBOSE=yes
#LOGABSTRACT=all

# Feed redirected spam to sa-learn

:0
* ^To:.*spam@example.com
* < 256000

   {
   :0c: spamassassin.spamlock
   | sa-learn --spam

   :0
   mail/spam
   }

# Send all other mail through SpamAssassin

:0fw: spamassassin.lock
* < 256000
| /usr/bin/spamassassin


# Mail that is very likely spam (>15) can be saved on the server
# (not forwarded), or by moving the # down one line, even dropped
# on the floor.  Note that dropping mail on the floor is a *bad*
# idea unless you really, really believe no false positives will
# have a score greatgreater than 15.  If you want all mail forwarded,
# just add #'s in front of each of these lines:

:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#/dev/null
mail/tenplusspam


# Forward all mail with a score less than 15 to my non-publicized address 
:0
! privateaddress@example.net

...

Wiki Markup
Thanks to William Stearns <wstearns@pobox.com> for this redirection \[http://www.stearns.org/doc/spamassassin-setup.current.html<ac:structured-macro ac:name="redirect" ac:schema-version="1" ac:macro-id="a9e4df9a82b774c6-38692a43-48a1481c-be96bd59-0d15b318344f4c4556f0a98a"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="info]." /></ac:link></ac:parameter><ac:parameter ac:name="location"><ac:link><ri:page ri:content-title="info]." /></ac:link></ac:parameter></ac:structured-macro>

Contributors

Wiki Markup
= Contributors
\[http://www.dankohn.com Dan Kohn\] dan@dankohn.com