Results 1 to 7 of 7

Thread: Deleted spam training accounts by fault

  1. #1
    karmek is offline Junior Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    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:
    [] 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:
    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:
    [] 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

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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

  3. #3
    karmek is offline Junior Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    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

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    karmek is offline Junior Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    Oh, strange...
    Thanks for the link
    Anything special i need to care for when updating?

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    karmek is offline Junior Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

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

    Go on making such a good work

    Best reguards
    Karmek

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. spam training accounts
    By melody in forum Administrators
    Replies: 1
    Last Post: 04-11-2007, 08:15 AM
  2. spam training accounts
    By randyg in forum Administrators
    Replies: 3
    Last Post: 01-11-2007, 05:59 AM
  3. New Spam Training Accounts after Update
    By ThorGoLucky in forum Installation
    Replies: 2
    Last Post: 12-12-2006, 09:57 AM
  4. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 PM
  5. Replies: 5
    Last Post: 08-16-2006, 05:18 AM

Posting Permissions

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