Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Hardware and Server Configuration > Spamassin Updates - Dumb question ?
forgot password?


Reply


Old
  Post #1 (permalink)   04-30-2004, 05:29 AM
HD Addict
 
Join Date: Feb 2005
Location: Herts, UK
Posts: 143

Status: monaghan is offline
I got a simple enquiry the other day about Spamassin.

Does it update it's rules etc...

I've looked in the Cpanel update logs and seen nothing related to it.

If it doesn't automatically, can it / should it need to be updated regularly ?
 
 
 


Old
  Post #2 (permalink)   04-30-2004, 05:49 AM
HD Wizard
 
Join Date: Jul 2003
Posts: 2,100

Status: BlackStorm is offline
Hey,
Done a bit of looking around for you, here is a how-to for upgrading Spam Assassin from the source code.

http://forum.ev1servers.net/showthre...threadid=42806

Quote:
# su -
# LANG=C
# cd /usr/src
# wget http://www.spamassassin.org/release...sin-2.63.tar.gz
# tar zxvf Mail-Spamassassin-2.63.tar.gz
# cd Mail-Spamassassin-2.63
# perl Makefile.PL INSTALLDIRS=vendor
# make
# make test
# make install

# make distclean
# perl Makefile.PL PREFIX=/home/virtual/FILESYSTEMTEMPLATE/spam_filter/usr SYSCONFDIR=/home/virtual/FILESYSTEMTEMPLATE/spam_filter/etc INSTALLDIRS=vendor
# make
# make test
# make install

# mkdir /root/stuff
# cd /root/stuff
# pico -w upgrade-spamass

Then paste the following into the editor:

#!/bin/sh

cd /home/virtual

for site in site*; do
echo "upgrading $site ..."
/usr/local/bin/EditVirtDomain -c spam_filter,enabled=0 $site
/usr/local/bin/EditVirtDomain -c spam_filter,enabled=1 $site
done

Then hit CTRL-X to save the file.

# chmod u+x upgrade-spamass
# ./upgrade-spamass

Now sit back and watch. You will see it disable/enable spamass for each ensim account, upgrading the spamass files at the same time. (Yes there are other ways to do it but this is easy). If you do NOT want spamass enabled in all of your ensim accounts then you'll need to come up with a way to do it selectively.

Finally you'll need to restart the spamd process or just reboot the server.
Hope that helps you, by the way, check the link for the wget though, it could have easily updated/changed by now
 
 
 


Old
  Post #3 (permalink)   04-30-2004, 12:48 PM
HD Master
 
Join Date: Apr 2004
Location: London, UK
Posts: 366
Send a message via ICQ to imported_HadleyHost Send a message via AIM to imported_HadleyHost

Status: imported_HadleyHost is offline
I think you need to do it manually
__________________
Mark Uttley
Email: mark@hadleyhost.com
http://www.hadleyhost.com
Good quality webhosting solutions for fantastic prices!
 
 
 


Old
  Post #4 (permalink)   04-30-2004, 12:58 PM
HD Master
 
Join Date: Mar 2004
Location: Stanwood, WA
Posts: 294
Send a message via ICQ to FatalSw1tch Send a message via AIM to FatalSw1tch Send a message via Yahoo to FatalSw1tch

Status: FatalSw1tch is offline
Spam Assassin is good in the version that it comes in. I have ran into big problems from installing an update to make me want to a server
 
 
 


Old
  Post #5 (permalink)   05-01-2004, 07:14 AM
HD Master
 
Join Date: Apr 2004
Location: London, UK
Posts: 366
Send a message via ICQ to imported_HadleyHost Send a message via AIM to imported_HadleyHost

Status: imported_HadleyHost is offline
Ouch - I feel sorry for that server
__________________
Mark Uttley
Email: mark@hadleyhost.com
http://www.hadleyhost.com
Good quality webhosting solutions for fantastic prices!
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: