Results 1 to 8 of 8

Thread: zmtrainsa - not sure how to implement

  1. #1
    ple
    ple is offline Loyal Member
    Join Date
    Jan 2009
    Location
    Houston, TX
    Posts
    99
    Rep Power
    6

    Red face zmtrainsa - not sure how to implement

    Hi,
    I'd like to implement zmtrainsa but get confused. These are my questions:
    1. There are two domain in my server host.domain.com and domain.com; we only use domain.com as our default domain. Can I use the built-in spam/ham accounts that belong to host.domain.com or I have to create 2 brand new spam/ham accounts for the domain.com?
    2. zmtrainsa <server> <user> <password> spam [foldername] is the syntax; who should I use in the <user> field?
    3. This relates to the previous question; do I have to run this syntax manually for over 2K accounts on the server?
    4. Once the spam is set up; can I just ignore the ham part?
    Thanks in advance,
    PL

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

    Default

    You don't need to run zmtrainsa, it's run automatically every night as a cron job to train your system. What, exactly, are you trying to achieve?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    ple
    ple is offline Loyal Member
    Join Date
    Jan 2009
    Location
    Houston, TX
    Posts
    99
    Rep Power
    6

    Default Update

    Thanks for quick responding. I've noticed that all marked Junk messages are still coming back to our Inboxes. In other words, the Junk mail is not working for us. What settings do I need to enable/disable in order for the Junk mail to work?
    PL

  4. #4
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    What do you mean by "coming back to our Inboxes"? You mean you're still getting similar junkmail to what you've already marked?

  5. #5
    ple
    ple is offline Loyal Member
    Join Date
    Jan 2009
    Location
    Houston, TX
    Posts
    99
    Rep Power
    6

    Default Update

    That is correct. When you mark the message as Junk; Zimbra moves the message to the Junk Email folder, which is good. Next day, you will see the similar message sitting in your Inbox. For some reason, Zimbra doesn't learn that the message has been flagged as junk.
    PL

  6. #6
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    To really see what's going on, right-click on the "similar" emails and do View Original. Then compare the spam scoring in their mail headers. You should see progress in the sense of the Bayesian scoring getting higher over time.

    However Bayesian scoring alone isn't enough to auto-recognize junk on a stock Zimbra system. The reason: on a stock system, Bayesian only scores up to 3.5, and the spam threshold is 6.6. So look again at those headers and see what the total score is. If at least 3.1 "points" come from scoring other than Bayesian, then Bayesian will eventually suffice. Otherwise you should consider tweaking the spam settings.

    The easiest thing to do is just to lower the threshold via the Admin GUI (I believe it's under Global settings). For more advanced tweaks you should search the forum and the wiki.

    One thing to watch out for, though, is Bug 31333 &ndash; Emails from authenticated users getting marked as spam
    Bug 12277 &ndash; Add support for better antispam scoring of sasl authenticated senders

    The upshot of these is that if you set the threshold too low, then mail from legitimate users may be marked as spam simply because they're connecting from external networks. See comment #10 in bug 12277 for the necessary customization.

  7. #7
    ple
    ple is offline Loyal Member
    Join Date
    Jan 2009
    Location
    Houston, TX
    Posts
    99
    Rep Power
    6

    Default Update

    I'll keep watching the spam score. Let's get back to my original question. It means there is no need to run zmtrainsa <server> <user> <password> spam [foldername] on my server and the spam is working as is? please correct me if I'm wrong.
    Thanks.
    PL

  8. #8
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Quote Originally Posted by ple View Post
    I'll keep watching the spam score. Let's get back to my original question. It means there is no need to run zmtrainsa <server> <user> <password> spam [foldername] on my server and the spam is working as is?
    This is correct. Login as zimbra and do crontab -l. This will show you that zmtrainsa is executed at 11:00 pm every day, first to train and then to clean up the spam/ham accounts.

    Also see /opt/zimbra/log/spamtrain.log

    However I am seeing an anomoly which I'm going to post in another thread.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmtrainsa does not see attachments
    By dvb in forum Administrators
    Replies: 3
    Last Post: 04-24-2012, 08:18 AM
  2. zmtrainsa + dspam = broken on 5.0.16GA network edition
    By shankwc in forum Administrators
    Replies: 1
    Last Post: 09-01-2011, 01:31 PM
  3. Is something wrong with my zmtrainsa?
    By dwmtractor in forum Administrators
    Replies: 5
    Last Post: 07-01-2009, 12:55 PM
  4. zmtrainsa problems
    By sturgis in forum Administrators
    Replies: 6
    Last Post: 04-02-2007, 11: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
  •