2002-04-19 17:39:20 -04:00
|
|
|
<HTML><HEAD><TITLE>SpamAssassin mini-howto</TITLE><META NAME="generator" CONTENT="txt2html v1.28"></HEAD><BODY>
|
|
|
|
|
|
|
|
<p><b>Usage:</b><br>
|
|
|
|
|
|
|
|
You can use spamassassin in many ways. But the lightest for the machine is by
|
|
|
|
making use of the spamc/spamd combination.
|
|
|
|
|
|
|
|
<p>Add this line to <b><code>/etc/rc.local</b></code>:
|
2004-12-28 16:03:51 -05:00
|
|
|
<pre><b># @PREFIX@/bin/spamd -u _spamdaemon -d</b></pre>
|
2002-04-19 17:39:20 -04:00
|
|
|
<br> Use that same line to start spamd now.
|
|
|
|
|
|
|
|
<p>The final step: put this at the top of your <b><code>.procmailrc</b></code>.
|
2002-07-07 11:07:20 -04:00
|
|
|
If you do not want to use procmail please check the
|
2006-10-21 15:26:14 -04:00
|
|
|
<A HREF="http://spamassassin.org/doc.html">online docs</A>
|
2002-04-19 17:39:20 -04:00
|
|
|
|
|
|
|
<ul><pre>
|
|
|
|
:0fw
|
2002-10-17 13:46:31 -04:00
|
|
|
* < 256000
|
2004-12-28 16:03:51 -05:00
|
|
|
| spamc
|
2002-04-19 17:39:20 -04:00
|
|
|
|
|
|
|
:0e
|
|
|
|
{
|
|
|
|
EXITCODE=$?
|
|
|
|
}
|
|
|
|
|
|
|
|
:0:
|
|
|
|
* ^X-Spam-Status: Yes
|
|
|
|
caughtspam # This is the mailbox where all spam goes.</pre></ul>
|
|
|
|
|
|
|
|
<p><b>Customizing:</b><br>
|
|
|
|
|
|
|
|
The spam filtering is not perfect. But since the feedback is very extensive you
|
|
|
|
should be able to do what is necessary to get most spam filtered.
|
|
|
|
|
2002-04-23 08:34:18 -04:00
|
|
|
<p>If you want to add custom settings to spamassassin you can create the
|
2004-12-28 16:03:51 -05:00
|
|
|
file<code><b> @SYSCONFDIR@/mail/spamassassin/local.cf </b></code>. All possible options are
|
2002-04-23 08:34:18 -04:00
|
|
|
described in:<code><b> man Mail::SpamAssassin::Conf</b></code>
|
2002-04-19 17:39:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
<p><b>Much more info:</b><br>
|
|
|
|
|
|
|
|
This is just a mini-HOWTO to get you up and running if you are in a hurry.
|
2004-10-31 03:44:44 -05:00
|
|
|
Please go to <A HREF="http://spamassassin.apache.org">spamassassin.apache.org</A> for further
|
2002-04-19 17:39:20 -04:00
|
|
|
information.
|
|
|
|
|
|
|
|
</BODY></HTML>
|