Results 1 to 7 of 7

Thread: Keeping spam and ham from previous mail server

  1. #1
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Question Keeping spam and ham from previous mail server

    I need to migrate to a new mail server and two of my friends both suggested Zimbra on separate occasions. I'm migrating from an old and very unstable Kolab installation and I have already moved all the users and their mails to my new Zimbra installation, but just to push the envelope a bit further I was wondering if I could keep/move/retrain the currently trained spam and ham to the new server?

    Thanx for the help.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Do you still have the emails or just the bayes database ?

  3. #3
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default

    Thanx for the welcome..

    I have the last month's worth of email and the bayes database, thus in essence just the database to work with.

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

    Default

    If all you have is one month of data, I'd suggest you don't bother as Zimbra will automatically train it's own spam filters.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Okay, not tried but here we go On your old server you will need to dump the bayes database with
    Code:
    sa-learn --backup > bayes.txt
    transfer this file to your ZCS server into /tmp. Then this will need to be imported
    Code:
    su - zimbra
    /usr/bin/sa-learn --dbpath=/opt/zimbra/data/amavisd/.spamassassin -C /opt/zimbra/conf/spamassassin --restore /tmp/bayes.txt

  6. #6
    johan.radyn is offline Junior Member
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default

    Just to be clear then.. Definate not worth transfering the month of data that I have, and I can't transfer the bayes database with 3 years worth of data..?

    Thanx

    Note: This post was made before I saw the previous post from uxbod

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Please update your profile with the output from
    Code:
    su - zimbra
    zmcontrol -v
    as dependant on which version you are using the SA bayes path could be different.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Spam/Ham training under Outlook/Thunderbird/etc.
    By chuckm in forum Administrators
    Replies: 23
    Last Post: 03-18-2009, 11:01 AM
  2. Weird behaviors and LOTS of spam.
    By zwvpadmin in forum Administrators
    Replies: 7
    Last Post: 01-02-2009, 10:26 AM
  3. spam - ham training
    By Viking0 in forum Administrators
    Replies: 6
    Last Post: 12-02-2008, 01:07 PM
  4. [SOLVED] SPAM and HAM training for outlook users
    By Mudasar in forum Administrators
    Replies: 4
    Last Post: 11-07-2008, 11:00 AM
  5. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 PM

Posting Permissions

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