Can someone explain how to enable spam assassin?
Martin Karlsson
mk-freebsd at bredband.net
Fri Apr 11 16:30:12 PDT 2003
Hi,
* Dragoncrest <dragoncrest at voyager.net> [2003-04-11 09.57 -0400]:
> I've looked through all the readme's, I've looked through the as
> many tutorials and man pages as I can find and even the emails
> from this list. Everyone tells me to do something different. Yet
> nothing seems to work. Can someone please either point me to, or
> write out a very simple how to on setting up my system from
> install of spam assassin to setting up procmail and making sure I
> got everything? Thanks.
My setup looks like this (using spamd/spamc):
- Install SA from ports (mail/p5-Mail-SpamAssassin)
This will put a file named spamd.sh-dist in /usr/local/etc/rc.d/
Rename that file to spamd.sh, and make it executable.
- I use procmail, and have the following as the first recipe in
~/.procmailrc:
-----8<------cut here------8<----------
# check for UCE, UBE with SpamAssassin
:0fw
|/usr/local/bin/spamc
:0:
* ^X-Spam-Status: Yes
caught-spam
--------->8------cut here--------->8---------
HTH,
--
Martin Karlsson
More information about the freebsd-questions
mailing list