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 20th September 2010, 10:44
tebogor tebogor is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Zimabra SA Update for spamassassin not working

Please help i am new with Zimbra and would like to update spamassassin as am picking up allot of spam,the guy who use to manage this left and never update the spamassassin.

Output when i run sa-update manauly
/opt/zimbra/zimbramon/bin# ./sa-update
config: no configuration text or files found! please check your setup
check: no loaded plugin implements 'check_main': cannot scan! at /opt/zimbra/zimbramon/lib/Mail/SpamAssassin/PerMsgStatus.pm line 164.

Thanks

Last edited by tebogor; 20th September 2010 at 10:54.
Reply With Quote
Sponsored Links
  #2  
Old 20th September 2010, 11:19
tebogor tebogor is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tebogor View Post
Please help i am new with Zimbra and would like to update spamassassin as am picking up allot of spam,the guy who use to manage this left and never update the spamassassin.

Output when i run sa-update manauly
/opt/zimbra/zimbramon/bin# ./sa-update
config: no configuration text or files found! please check your setup
check: no loaded plugin implements 'check_main': cannot scan! at /opt/zimbra/zimbramon/lib/Mail/SpamAssassin/PerMsgStatus.pm line 164.

Thanks
Any advice would be much aprecaited
Reply With Quote
  #3  
Old 21st September 2010, 18:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Unfortunately I have no idea how to solve this...
__________________
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
  #4  
Old 12th October 2010, 09:23
chrisedes chrisedes is offline
Junior Member
 
Join Date: Oct 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

I had this problem too. I had to do a few things to solve it. I was really disappointed that no one posted a solution, so I will do just that.

One, since /opt/zimbra is owned by root, yet sa-update should be run as the zimbra user, I had to do the following as root:

mkdir /opt/zimbra/.gnupg
chown zimbra:zimbra /opt/zimbra/.gnupg
chmod 700 /opt/zimbra/.gnupg

mkdir /opt/zimbra/.spamassassin
chown zimbra:zimbra /opt/zimbra/.spamassassin

Two, sa-update still tried to create the .gnupg directory unless I specified the parameter manually with " --gpghomedir /opt/zimbra/.gnupg".

Three, I had to edit the sa-update script thus:

my $DEF_RULES_DIR = '/opt/zimbra/conf/spamassassin';
my $LOCAL_RULES_DIR = '/opt/zimbra/conf/spamassassin';
# my $LOCAL_RULES_DIR = '/etc/mail/spamassassin';

You can see I commented out the default LOCAL_RULES_DIR definition and replaced it with the value for DEF_RULES_DIR.

Four, in addition to the change above, I had to specify the parameter "--updatedir /opt/zimbra/conf/spamassassin". So the command I used was:

./sa-update --gpghomedir /opt/zimbra/.gnupg --updatedir /opt/zimbra/conf/spamassassin

You can also pass "-D" to sa-update to put it into debug mode. That makes it a lot easier to fix any problems.
Reply With Quote
The Following User Says Thank You to chrisedes For This Useful Post:
falko (13th October 2010)
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
auto update svn working copy donix Installation/Configuration 0 9th June 2010 20:59
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 14:54.


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