#1  
Old 28th September 2008, 18:23
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
Default Maintaining Spamassassin

Hi, I have been happily using a server I setup using 'The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake)' and all is basically well... thanks!
However, I have never managed to figure out how to maintain SpamAssassin.
I have searched and generally read these forums and Googled for answers plus read the Spamassin docs' but still find that the only thing I figured out how to do doesn't seem to stopping much spam!
At present I just run;
'/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update'
from time to time (after having run; 'apt-get install libwww-perl libarchive-tar-perl' once)
My head is spinning with all that I have read, and I figure there must be a basic set of things to do on a regular basis that would keep the spam down.
So my question (after all the above!) is what day to day or week to week work should I perform in order to stay on top of the spam problem?

Thank you in advance!
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router
Reply With Quote
Sponsored Links
  #2  
Old 29th September 2008, 17:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Usually SpamAssassin has auto-learning on, so there's no need to do anything. If it doesn't catch any spam, I'd first try to adjust the spam score. If that doesn't help, you can try the sa-learn command: http://spamassassin.apache.org/full/.../sa-learn.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
greenpete (29th June 2009)
  #3  
Old 3rd October 2008, 00:58
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
Default

Quote:
Originally Posted by falko View Post
Usually SpamAssassin has auto-learning on, so there's no need to do anything. If it doesn't catch any spam, I'd first try to adjust the spam score. If that doesn't help, you can try the sa-learn command: http://spamassassin.apache.org/full/.../sa-learn.html
Thank you Falko, my server does catch spam but is letting through an awfull lot that has words I am surprised it lets through.
I have played with the 'spam score' which helped a bit.

How do I check that auto learning is on and working properly?

I have tried following the details in the link you provide.
I ran; 'sa-learn --spam /var/www/web1/user/web1_user/Maildir/.Junk
as well as the 'sa-learn --ham' command but with the same result;
'bash: sa-learn: command not found'
I have read that the sa-learn is part of the SpamAssassin perl module, so I assume I have it but the system thinks not!
Where am I going wrong, do I need to be in a specific directory when I run the command?

Also you say that it should self learn without intervention, how can it do this, does it get info back from Roundcubemail, if so how?

Thanks, Peter
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router
Reply With Quote
  #4  
Old 3rd October 2008, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Open /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf and enable
Code:
use_bayes 1
bayes_auto_learn 1
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
greenpete (29th June 2009)
  #5  
Old 3rd October 2008, 13:30
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
Default

Quote:
Originally Posted by falko View Post
Open /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf and enable
Code:
use_bayes 1
bayes_auto_learn 1
Thank you, I have 'un-commented' those lines and will now sit back and wait!
I did try the 'sa-learn' command again and that still doesn't work?!
I would really like to use that.

Peter
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router
Reply With Quote
  #6  
Old 9th October 2008, 13:49
greenpete greenpete is offline
Member
 
Join Date: Feb 2008
Location: Cotswolds
Posts: 51
Thanks: 20
Thanked 1 Time in 1 Post
Send a message via Yahoo to greenpete
 
Default

I have followed the advice above but nothing has changed.
I am running RoundCubeMail and put all spam into the 'Junk' folder but I still get the same amount of spam.
It would help me if I knew how Spamassassin learnt, is it from putting spam into the Junk folder?
I keep looking through the Spamassassin docs but nothing makes enough sense to me, maybe I am out of my depth here and shouldn't be running a mail server?
Any further assistance would be very much appreciated though.

Thanks.
__________________
Running; The Perfect Setup - Ubuntu 9.04 Server
Talaen
Webmin
1GB CPU
375MB RAM
40GB HDD
Domestic ADSL 256kbs/8mbs
Speedtouch Modem/Router
Reply With Quote
Reply

Bookmarks

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
ISPconfig 2.2.21 Load Averange Very High mmiyamoto General 3 6th March 2008 13:13
I have SpamAssassin installed/working, if I install ISPConfig now will this break it? AlyK Installation/Configuration 1 3rd January 2008 11:04
Question on Clamscan and SpamAssassin AZMel Installation/Configuration 3 11th January 2007 19:56
Spamassassin being over protective bluethunder82 General 17 5th December 2006 17:47
config spamassassin hotchilli Server Operation 1 8th July 2006 12:03


All times are GMT +2. The time now is 12:39.


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