Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

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 Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-2009, 02:21 AM
Junior Member
 
Posts: 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.
Reply With Quote
  #2 (permalink)  
Old 02-12-2009, 02:31 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Do you still have the emails or just the bayes database ?
__________________
Reply With Quote
  #3 (permalink)  
Old 02-12-2009, 03:40 AM
Junior Member
 
Posts: 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.
Reply With Quote
  #4 (permalink)  
Old 02-13-2009, 12:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #5 (permalink)  
Old 02-13-2009, 12:43 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #6 (permalink)  
Old 02-13-2009, 12:50 AM
Junior Member
 
Posts: 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
Reply With Quote
  #7 (permalink)  
Old 02-13-2009, 12:54 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.