Cannot find spam and nonspam accounts - Possible to recreate them ?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
nirg
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

Cannot find spam and nonspam accounts - Possible to recreate them ?

Post by nirg »

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[/QUOTE]
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
StefanD
Advanced member
Advanced member
Posts: 51
Joined: Fri Sep 12, 2014 9:57 pm

Cannot find spam and nonspam accounts - Possible to recreate them ?

Post by StefanD »

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 @your.domain

zmprov mcf zimbraSpamIsSpamAccount @your.domain
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Cannot find spam and nonspam accounts - Possible to recreate them ?

Post by jholder »

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
nirg
Posts: 11
Joined: Fri Sep 12, 2014 10:00 pm

Cannot find spam and nonspam accounts - Possible to recreate them ?

Post by nirg »

Thank you ! - that has resolved the problem.

:)
Post Reply