Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th May 2013, 17:14
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Question 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:

Quote:
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
Reply With Quote
Sponsored Links
  #2  
Old 12th May 2013, 17:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

This tutorial should work, spamassassin must be disabled as it is not used.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
darinpeterson (12th May 2013)
  #3  
Old 26th June 2013, 16:17
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default

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?
Reply With Quote
  #4  
Old 26th June 2013, 16:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Which spam 2 score do you use n the policy that is activated for this mailbox?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
feeninuoumn (4th December 2013)
  #5  
Old 26th June 2013, 22:23
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default

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".

Last edited by darinpeterson; 27th June 2013 at 19:42. Reason: misread question
Reply With Quote
  #6  
Old 28th June 2013, 18:06
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default

Till, is this what you needed to answer the question, or is it something else?
Reply With Quote
  #7  
Old 29th June 2013, 17:41
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 153
Thanks: 35
Thanked 13 Times in 13 Posts
Default

I found what I think is a pretty good document on this here: http://www200.pair.com/mecham/spam/a...-settings.html
Reply With Quote
  #8  
Old 13th November 2013, 19:55
biggdog biggdog is offline
Member
 
Join Date: Nov 2010
Posts: 61
Thanks: 3
Thanked 5 Times in 5 Posts
 
Default

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


Mine is

#!/bin/bash
/usr/bin/sa-learn --spam /var/vmail/biggdog.biz/babedh-dhra/Maildir/.Junk/cur/*
/usr/bin/sa-learn --ham /var/vmail/biggdog.biz/babedh-dhra/Maildir/cur/*

chmod o+x /bin/sa_learn

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.

Last edited by biggdog; 13th November 2013 at 20:00.
Reply With Quote
Reply

Bookmarks

Tags
spamassassin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
All files gone after changing quota to 0 spynode General 17 19th January 2012 14:41
SSL Cert Question for ISPConfig Access giganet Installation/Configuration 33 28th March 2009 07:56
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46


All times are GMT +2. The time now is 01:22.


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