Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-2006, 09:36 PM
Loyal Member
 
Posts: 94
Default Bayes score not showing in headers.

Ok, I'm nearly ready to roll this out as a production server, just a couple little details left.

OS: Ubuntu 6.06 LTS in Vmware
ZCS: zcs-4.0.2_GA_362.DEBIAN3.1.tgz

Looking at the X-Spam-Status headers there is no bayes score (i.e. BAYES_00=-2.599), many other test scores there but no bayes.

Originally used zmtrainsa to feed it around 2,000 spam and 1,000 ham - that works without error.
Blew away the bayes database in /opt/zimbra/amavisd/.spamassassin and fed it another 250 spam and 210 ham, bayes database files were re-created as a result. Ran zmcontrol stop - start, still no score in the headers.

Logs are clean.

Added bayes_path /opt/zimbra/amavisd/.spamassassin/bayes
to /opt/zimbra/conf/salocal.cf.in and ran zmcontrol stop - start. Still no score in the headers.

On my production server (running qmail, vpopmail, spamassassin 2.x, etc) I would run spamassassin -D --lint and get some output but haven't been able to find the equivalent command under zimbra.

Any suggestions?
__________________
Brian Harden
www.chromedcomputing.com

Last edited by brained; 10-21-2006 at 09:50 PM..
Reply With Quote
  #2 (permalink)  
Old 10-21-2006, 11:40 PM
Loyal Member
 
Posts: 94
Default Additional Info

Looked at this post:
Help dealing with spam
and saw it suggested to run sh -x zmsatrain for debugging.

Before I've run the zmsatrain as the installed cron job and the spamtrain.log showed a successful run with no errors, and have also run it standalone against a specific folder for a particular user and it also ran with out error.

Running sh -s zmsatrain yielded this:
sh -x zmtrainsa
++ whoami
+ '[' xzimbra '!=' xzimbra ']'
++ dirname zmtrainsa
+ source ./zmshutil
/opt/zimbra/bin/zmtrainsa: line 66: ./zmshutil: No such file or directory

Changing line 66 from this:
source `dirname $0`/zmshutil || exit 1
to this:
source /opt/zimbra/bin/zmshutil || exit 1
results in a successful run.

Now all three (cron job, manual run and sh -x zmsatrain) all run without error. Still no bayes score in the headers though.
__________________
Brian Harden
www.chromedcomputing.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.