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 10-15-2006, 01:07 AM
Member
 
Posts: 11
Default Cannot find spam and nonspam accounts - Possible to recreate them ?

Hi,

The 2 accounts for spam and ham learning which are created upon installation are missing in mine. I think I might have erased them, not knowing their purpose.
Of course, I get the following in the spamtrain.log -

Quote:
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 0 seconds: 1017 unique entries (2387 total entries)
[] ERROR: can not find account spam@..ServerName
[] ERROR: can not find account nonspam@..ServerName
I can still run zmtrainsa manually, but I would like my users to be able to train SA on their own. Is it possible to recreate the spam and ham accounts somehow ? I haven't been able to find this out..

Many thanks and praises to everyone involved with Zimbra - v4 has taken it to a whole new level
Thanks again,
Nir Gilboa
Reply With Quote
  #2 (permalink)  
Old 10-15-2006, 05:56 AM
Project Contributor
 
Posts: 68
Default

First create 2 new accounts, one spam account (eg. spamqkhjds@your.domain) and one ham account (eg. hamlkjdu@your.domain)

Then use the following commands:
zmprov mcf zimbraSpamIsNotSpamAccount <ham account>@your.domain
zmprov mcf zimbraSpamIsSpamAccount <spam account>@your.domain
Reply With Quote
  #3 (permalink)  
Old 10-15-2006, 08:08 AM
Former Zimbran
 
Posts: 5,606
Default

If you want, you can run this to see what zimbra is using as SPAM and HAM accounts, then just recreate the users:
zmprov gacf | grep -i spamis
Reply With Quote
  #4 (permalink)  
Old 10-15-2006, 09:54 AM
Member
 
Posts: 11
Default

Thank you ! - that has resolved the problem.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.