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 Display Modes
  #1 (permalink)  
Old 07-13-2007, 01:23 AM
Junior Member
 
Posts: 6
Default Deleted spam training accounts by fault

Dear Zimbra Community,
a few month ago i installed zimbra for the first time and its functions where really amazing! So at the beginning, not knowing what i do, i deleted the spam training accounts because i just wondered about those strange mailboxes

Right now i understand, that those where necessary for Zimbras spam training functionality. So i decided to repair this.

While looking at my log/spamtraining.log i found the following entrys:
Quote:
[] ERROR: can not find account spam.bxye1fl5@old-domain.com
[] ERROR: can not find account ham.jpwgmczeum@old-domain.com
[] ERROR: can not find account spam.bxye1fl5@old-domain.com
[] ERROR: can not find account ham.jpwgmczeum@old-domain.com
Learned from 0 message(s) (0 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 1 seconds: 1979 unique entries (3751 total entries)
In the meantime i moved my Zimbra Server to another domain, so i got "old-domain.com" and "new-domain.com". Just for your understanding.

So what to do? First of all I decided to recreate the missing accounts on my new-domain.com with the Zimbra Admin interface. So I just created them with unlimited Mailboxsize an i now have:

ham.jpwgmczeum@new-domain.com
spam.bxye1fl5@new-domain.com

So far so good. Next step was choosing "zmprov ma spam.bxye1fl5@new-domain.com zimbraMailHost new-domain.com" to change those Accounts to my new mailserver.

Then i did "zmprov gacf | grep Spam" and found the following:
Quote:
zimbraSpamCheckEnabled: TRUE
zimbraSpamHeader: X-Spam-Flag
zimbraSpamHeaderValue: YES
zimbraSpamIsNotSpamAccount: ham.jpwgmczeum@old-domain.com
zimbraSpamIsSpamAccount: spam.bxye1fl5@old-domain.com
zimbraSpamKillPercent: 70
zimbraSpamSubjectTag: *****SPAM*****
zimbraSpamTagPercent: 25
And changed those values with (if i remember correct):
"zmprov mcf zimbraSpamIsNotSpamAccount ham.jpwgmczeum@new-domain.com" and
"zmprov mcf zimbraSpamIsSpamAccount spam.bxye1fl5@new-domain.com"

Looks good to me for now. So I decided to mark some stuff as spam and have a look at the log/spamtrain.log:
Quote:
[] WARN: exception occurred fetching message
java.io.IOException: HTTP GET failed: /service/user/spam.bxye1fl5@new-comain.com/?id=984b579f-c019-4803-a446-e6449cb6f693:388: 403: permission denied: you do not have sufficient permissions
at com.zimbra.cs.util.SpamExtract.extractMessage0(Spa mExtract.java:322)
at com.zimbra.cs.util.SpamExtract.extractMessage(Spam Extract.java:305)
at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:254)
at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:202)
And now i guess that recreating those accounts is not enough, there must be a possibility to give the spam training script the right permissions, but how???

I would appreciate you help

Best reguards

Karmek
Reply With Quote
  #2 (permalink)  
Old 07-13-2007, 02:02 AM
Moderator
 
Posts: 1,847
Default

Hello & welcome.

I think you should upgrade to 4.5.6, because this is a 4.5.6 feature : "The zmtrainsa usage has been changed so that password is no longer required to access folders. (zmtrainsa <user> <spam|ham> [folder]"

See Bug 17766 - zmtrainsa usage
Reply With Quote
  #3 (permalink)  
Old 07-13-2007, 02:13 AM
Junior Member
 
Posts: 6
Default

Hi and thanks for this information.
I am currently using 4.5.0_GA_612.DEBIAN3.1 on my server.
As far as i can see, there are no newer packaged available, so i could need a workaround for my problem. Is there any chance to change passwords for my spam training accounts in my Zimbra config and for the mailboxes so that they match ? (If this is the only problem i got :P )

Thanks
Karmek
Reply With Quote
  #4 (permalink)  
Old 07-13-2007, 03:48 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

Quote:
Originally Posted by karmek View Post
I am currently using 4.5.0_GA_612.DEBIAN3.1 on my server.
As far as i can see, there are no newer packaged available ............
You must not be looking in the same place as me.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 07-13-2007, 04:04 AM
Junior Member
 
Posts: 6
Default

Oh, strange...
Thanks for the link
Anything special i need to care for when updating?
Reply With Quote
  #6 (permalink)  
Old 07-13-2007, 05:41 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

Apart from the usual, take a backup first, no.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-13-2007, 06:05 AM
Junior Member
 
Posts: 6
Default

Thanks! I did the upgrade and everything seems to work fine right now.

Go on making such a good work

Best reguards
Karmek
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0