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 07-28-2009, 01:22 PM
ple ple is offline
Loyal Member
 
Posts: 84
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
Reply With Quote
  #2 (permalink)  
Old 07-28-2009, 09:27 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
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
Reply With Quote
  #3 (permalink)  
Old 07-29-2009, 07:16 AM
ple ple is offline
Loyal Member
 
Posts: 84
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
Reply With Quote
  #4 (permalink)  
Old 07-29-2009, 08:14 AM
Moderator
 
Posts: 1,432
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?
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #5 (permalink)  
Old 07-29-2009, 08:24 AM
ple ple is offline
Loyal Member
 
Posts: 84
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
Reply With Quote
  #6 (permalink)  
Old 07-29-2009, 08:50 AM
Moderator
 
Posts: 1,432
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #7 (permalink)  
Old 07-30-2009, 11:27 AM
ple ple is offline
Loyal Member
 
Posts: 84
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
Reply With Quote
  #8 (permalink)  
Old 07-30-2009, 12:30 PM
Moderator
 
Posts: 1,432
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
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.