Results 1 to 2 of 2

Thread: zmtrainsa + dspam = broken on 5.0.16GA network edition

  1. #1
    Join Date
    Dec 2005
    Posts
    72
    Rep Power
    9

    Default zmtrainsa + dspam = broken on 5.0.16GA network edition

    I was on 5.0.6 before I upgraded to 5.0.16. I used to be able run the zmtrainsa tool and point it to individual mailboxes. This seems to be broken now if you are using dspam. You can still run zmtrainsa with no arguments and have it train on the system accounts. But if you try to give it a user mailbox it will hang forever on dspam training. I looked into this further and I can see that the system account is handled differently than user mailboxes.

    In the autoTrainSystem() section if dspam is enabled it calls:
    dspam_train zimbra ${spamdir} ${hamdir}
    where the spamdir and hamdir variables are tmp directories where the contents of the spam and ham system accounts have been unrolled into.

    If you look at the trainAccountFolder() section you will see that when doing dspam training - that section actually calls dspam directly. That is the part that it hangs on.

    Perusing the dspam_train script, it seems to me the problem is with the extraction and/or user flag. Also, we have a multi-server configuration with 2 MTAs to handle the spam processing load. I wonder if there is no extraction routine that pulls the spam out of the users Junk folder on the Message Store server and into a tmp location on the MTA - and that is the issue?

    So my question is this: Is anyone using dspam with Zimbra 5.0.16 and are you able to manually run zmtrainsa against a user account?

  2. #2
    Join Date
    Nov 2007
    Location
    Louisiana
    Posts
    38
    Rep Power
    7

    Default

    I am seeing zmtrainsa behave the same way in 7.1 with dspam enabled when pointed at a user's folder.

Similar Threads

  1. Replies: 2
    Last Post: 04-24-2009, 05:52 PM
  2. upgrading to network edition
    By zzzzsg in forum Installation
    Replies: 11
    Last Post: 03-06-2008, 10:58 PM
  3. moving from Network Edition to Open Source Edition
    By devasish2000 in forum Installation
    Replies: 1
    Last Post: 11-01-2007, 01:45 AM
  4. Replies: 1
    Last Post: 12-19-2006, 02:58 PM
  5. Rewrote zmtrainsa for DSPAM
    By unilogic in forum Developers
    Replies: 18
    Last Post: 01-12-2006, 06:03 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
  •