Results 1 to 3 of 3

Thread: dspam training errors with 5.0

  1. #1
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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?

  2. #2
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    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!

  3. #3
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ZCS 5.0 FOSS is Released!!!
    By jholder in forum Announcements
    Replies: 1
    Last Post: 12-21-2007, 12:21 PM
  2. dspam errors after 5.0 upgrade
    By Krishopper in forum Administrators
    Replies: 2
    Last Post: 12-20-2007, 05:57 PM
  3. Spam Training: How to properly train DSPAM?
    By Tenshi in forum Installation
    Replies: 14
    Last Post: 05-23-2007, 04:08 AM
  4. Configuring and using DSPAM
    By JoshuaPrismon in forum Administrators
    Replies: 55
    Last Post: 03-02-2007, 09:08 AM
  5. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •