HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Learning Spam in ISPConfig 3 Question (

darinpeterson 12th May 2013 18:14

Learning Spam in ISPConfig 3 Question
In step 11 of: The Perfect Server - Debian Squeeze (Debian 6.0) With BIND & Dovecot in ISPConfig 3, the last step reads:


The ISPConfig 3 setup uses amavisd which loads the SpamAssassin filter library internally, so we can stop SpamAssassin to free up some RAM:
If I follow this howto, does it still work, or do i need to re-enable SpamAssassin?
Learning Spam With SpamAssassin And All Of Your ISPConfig Clients in ISPConfig 3

till 12th May 2013 18:48

This tutorial should work, spamassassin must be disabled as it is not used.

darinpeterson 26th June 2013 17:17

I have been using the Learning Spam setup since this post in April, and it doesn't seem to be learning anything. Even though when I run the shell script it says that is has learned tokens, I keep getting the same spam in my inbox...

Is there something else that I should be doing for it to eliminate the spam emails?

till 26th June 2013 17:23

Which spam 2 score do you use n the policy that is activated for this mailbox?

darinpeterson 26th June 2013 23:23

I initially read "score" as "core"... Anyway, I don't know what score that I'm using. The email filter is set to "Trigger happy".

darinpeterson 28th June 2013 19:06

Till, is this what you needed to answer the question, or is it something else?

darinpeterson 29th June 2013 18:41

I found what I think is a pretty good document on this here:

biggdog 13th November 2013 20:55

/usr/bin/sa-learn --spam /var/vmail/*/*/.Junk/cur/*
/usr/bin/sa-learn --ham /var/vmail/*/*/.good/cur/*

Mine is

/usr/bin/sa-learn --spam /var/vmail/*
/usr/bin/sa-learn --ham /var/vmail/*

chmod o+x /bin/sa_learn


Thus adding ??
bayes_path /var/lib/amavis/.spamassassin/bayes

If we were to use this script shouldn't we also have to reload amavis?

Now I am not using the cron job simply because I am hand picking my spam and ham and I MUST make sure all of the emails are indeed spam or ham.

All times are GMT +2. The time now is 16:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.