Results 1 to 4 of 4

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

  1. #1
    nirg is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    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 -

    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

  2. #2
    StefanD is offline Project Contributor
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    68
    Rep Power
    9

    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

  3. #3
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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

  4. #4
    nirg is offline Member
    Join Date
    Nov 2005
    Posts
    11
    Rep Power
    9

    Default

    Thank you ! - that has resolved the problem.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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