postfix + spamassassin the simplest way.

Body

So, I had to do it today, Why was I afraid ? Don't ask, No answer, I don't know.
Now for the dirty work.
As usual: I'm using Debian woody.

# apt-get install spamassassin
# emacs /etc/default/spamassassin

# /etc/default/spamd.conf
# Duncan Findlay
# November 2001

# WARNING read README.spamd before using.  THERE ARE SECURITY RISKS!

# Change to one to enable spamd
ENABLED=1

# Options
# See man spamd for possible options. The -d option is automatically added.
OPTIONS="-x"
# was -c only

# emacs /etc/spamassassin/local.cf

# Add your own customisations to this file.  See 'man Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
#
rewrite_subject 1
report_safe 0

# emacs /etc/procmailrc

#LOGFILE=/tmp/procmail.log
#VERBOSE=on # Debugging

:0fw
* < 256000
| spamc

# /etc/init.d/spamasassin restart
run rcconf and ensure that spamassassin is checked.
Done.

Add new comment

The content of this field is kept private and will not be shown publicly.