Results 1 to 5 of 5

Thread: Spam Training errors

  1. #1
    tonyawbrey Guest

    Default Spam Training errors

    I am getting the following errors in the spamtrain.log file on my zimbra server. Anyone seen this problem before, I am running 4.0.5 of OSS zimbra.

    config: could not find site rules directory
    archive-iterator: readdir found no mail in '/tmp/spam.3394' directory
    Learned from 0 message(s) (0 message(s) examined).
    config: could not find site rules directory
    archive-iterator: readdir found no mail in '/tmp/ham.3394' directory
    Learned from 0 message(s) (0 message(s) examined).
    config: could not find site rules directory
    bayes: synced databases from journal in 0 seconds: 523 unique entries (739 total entries)
    [] ERROR: can not find account spamtrain@mail.mydomain.com
    [] ERROR: can not find account hamtrain@mail.mydomain.com


    I took a look at my server and do not see the spamtrain or hamtrain accounts on my server. In fact the domain mail.mydomain.com doesn't even exist, the actual domain is mydomain.com?

    Any help would be greatly appreciated.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You can create the spam & notspam accounts yourself, the 'could not find site rules directory' is a bug IIRC. Both have been covered in the forums, a quick search should find them.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    tonyawbrey Guest

    Default

    Thanks Phoenix, that is what I did. I created the spamtrain@mydomain.com and hamtrain@mydomain.com and then ran the following 2 commands to make zimbra use them.

    zmprov mcf zimbraSpamIsSpamAccount spamtrain@mydomain.com
    zmprov mcf zimbraSpamIsNotSpamAccount hamtrain@mydomain.com

    This fixed that problem, I will look into the filters error some more, thanks again for the reply.

    TA

  4. #4
    alivebyscience is offline Active Member
    Join Date
    Oct 2006
    Location
    St Louis
    Posts
    27
    Rep Power
    8

    Default For All New Domains?

    Is this needed for all domains as they're added? We catch spam, but it could catch a lot more!!!! BTW, need a stock tip? J


    Quote Originally Posted by tonyawbrey View Post
    Thanks Phoenix, that is what I did. I created the spamtrain@mydomain.com and hamtrain@mydomain.com and then ran the following 2 commands to make zimbra use them.

    zmprov mcf zimbraSpamIsSpamAccount spamtrain@mydomain.com
    zmprov mcf zimbraSpamIsNotSpamAccount hamtrain@mydomain.com

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    No, it's not needed for all domains just the primary domain.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  2. Deleted spam training accounts by fault
    By karmek in forum Administrators
    Replies: 6
    Last Post: 07-13-2007, 05:05 AM
  3. How to check if spam training is working?
    By tbovingdon in forum Administrators
    Replies: 1
    Last Post: 03-13-2007, 05:57 AM
  4. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 PM
  5. Spam training has no cron job
    By richard-hdd in forum Administrators
    Replies: 3
    Last Post: 09-13-2006, 11:50 AM

Posting Permissions

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