Differences between version 4 and predecessor to the previous major change of SpamAssassinNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Monday, May 15, 2006 12:19:08 pm | by CraigBox | Revert |
Older page: | version 3 | Last edited on Monday, July 4, 2005 4:11:46 pm | by PhilMurray | Revert |
@@ -1,8 +1,4 @@
-!![SpamAssassin] Notes
-
-----
-
!! How to make SpamAssassin run on your local e-mail machine (with [Evolution] in mind)
* get and install SpamAssassin, test that it works by piping a good email and a spam email through it
* check that fetchmail(1) works, write a <tt>.fetchmailrc</tt> file
@@ -39,17 +35,19 @@
<verbatim>
*/5 * * * * /home/localuser/bin/getmail
</verbatim>
-----
-
-
!! The
ClamAV Plugin
+!! SpamAssassin's
ClamAV Plugin
This plugin submits the entire email to a locally running [ClamAV] server for virus detection. If a virus is found, it returns a positive return code to indicate spam and sets the header <tt>X-Spam-Virus: Yes ($virusname)</tt>. If you'd like to sort virus emails to a separate folder, create a rule looking for this header.
+
+This isn't necessarily the best way to run [ClamAV]; for example, your MailTransferAgent, if it has a method to call SpamAssassin, probably has a method to call [ClamAV] too.
+
It requires
* [ClamAV] installed so that scanning a mail with <tt>clamscan</tt> works
* the [File::Scan::ClamAV | http://search.cpan.org/dist/File-Scan-ClamAV/] [Perl] module
+
To install, create the files in <tt>/etc/mail/spamassassin/</tt>. You can adjust the default score of 10 in <tt>clamav.cf</tt> if you like. Restart the <tt>spamd</tt> daemon if you're using that, and you should be all set.
<tt>clamav.cf</tt>::
@@ -112,11 +110,8 @@
}
1;
</verbatim>
-GreigMcGill has found that MaiaMailguard is an excellent meta tool for managing your anti spam solution.
-
------
!!Inappropriate ioctl for device in your debug logs under Sarge/Hoary
<verbatim>
debug: using "/root/.spamassassin" for user state dir
@@ -132,14 +127,12 @@
The perl version change effected a change of the BDB version being used. The bayes_seen and bayes_toks fixes are BDB files and
can be fixed by doing an db4.x_upgrade on them. sarge/hoary use Berkely DB 4.2, and you can install the db4.2-util package. with HTML
-----
!! I'm running spamassassin from my MTA, and I get the error <tt>spam acl condition: cannot parse spamd output</tt> or similar.
This occurs if you have upgraded perl, and not restarted spamd. Try restarting spamd and see if it solves the problem. It could also be a version mismatch, in which case you'll have to upgrade whichever process is calling spamassassin
-----
!! I'm running spamassassin on [Debian] and get this error <tt>Cannot open bayes databases /home/jimbobdobalina/.spamassassin/bayes_* R/O: tie failed:</tt> (or similar)
Fix:
@@ -155,7 +148,11 @@
</verbatim>
Restart spamassassin, and voila!
+!!Web based spam management
+
+[Maia Mailguard|http://renaissoft.com/maia/] is a web-based interface and quarantine management system for amavisd-new, which allows users to manage their own spam. It has all the pitfalls of amavis, but might suit your needs.
----
-CategoryAntiSpam CategoryNotes
+CategoryAntiSpam %%%
+
CategoryNotes