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

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 01-10-2008, 02:31 PM
Outstanding Member
 
Posts: 704
Default dspam training errors with 5.0

I'm a fan of dspam, so I enabled it.

I noticed a trend that dspam didn't seem to be updating the tokens. Looking in the spamtrain.log, I see a bunch of this:

/opt/zimbra/bin/zmtrainsa: line 45: /opt/zimbra/dspam/bin/dspam_corpus: No such file or directory

A "ls -l /opt/zimbra/dspam/bin/" doesn't show a dspam_corpus in there.

Is it a script thats missing, or does the zmtrainsa script need to be adjusted?
Reply With Quote
  #2 (permalink)  
Old 01-10-2008, 09:46 PM
Zimbra Employee
 
Posts: 601
Default

The following might help, looks like dspam_corpus was replaced with dspam_train. We haven't really looked at dspam except updating it since it was disabled so apologies.

replace
Code:
   for f in ${spamdir}/*; do
      test -f ${f} && ${zimbra_home}/dspam/bin/dspam_corpus --addspam zimbra ${f}
    done
    for f in ${hamdir}/*; do
      test -f ${f} && ${zimbra_home}/dspam/bin/dspam_corpus zimbra ${f}
    done
with the following

Code:
 ${zimbra_home}/dspam/bin/dspam_train zimbra ${spamdir} ${hamdir}
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 01-11-2008, 10:57 AM
Outstanding Member
 
Posts: 704
Default

Much thanks. I will see how this runs tonight.

Should I file a bug report on this, or is the code in the tree already taken care of?
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.