DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th June 2008
skywalker skywalker is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default Postfix exporting

Hi!,

I have an old mail server installed FreeBSD + Postfix. The system works good.

I have prepared a new freebsd and postfix. I want to export all postfix data from old server to the new server.

How i can do it? Is there real ways to establish this?

Thank you
Reply With Quote
Reply With Quote
  #2   (View Single Post)  
Old 11th June 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Thanked 4 Times in 10 Posts
Default

what do you mean by 'postfix data' - you talking about users mail boxes?
they'll move over quite fine - they are in a standardised format
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #3   (View Single Post)  
Old 11th June 2008
skywalker skywalker is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by corey_james View Post
what do you mean by 'postfix data' - you talking about users mail boxes?
they'll move over quite fine - they are in a standardised format
Yes about milboxes. And also about configuration.

Is there any docnument or how-to-s to do this?

thanks
Reply With Quote
  #4   (View Single Post)  
Old 11th June 2008
gkontos's Avatar
gkontos gkontos is offline
Real Name: George
Port Guard
 
Join Date: May 2008
Location: Greece
Posts: 41
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by skywalker View Post
Yes about milboxes. And also about configuration.

Is there any docnument or how-to-s to do this?

thanks
I had a similar project last year but with a mailserver for 300 domains.
1) How do you have your mailboxes ? (local accounts, etc)
2) Besides postfix, are you using any other application that interacts with it?
3) How do users get their email, pop3, imap ?

George
__________________
...when you have excluded the impossible, whatever remains, however improbable, must be the truth.
Reply With Quote
  #5   (View Single Post)  
Old 11th June 2008
deemon's Avatar
deemon deemon is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Estonia
Posts: 50
Thanked 6 Times in 5 Posts
Default

Just tar them on old server and copy it over to the new server and extract.
Same method goes for both mailboxes and postfix configuration.
Something like this:
Code:
tar -cf - -C /path/to/user/mailboxes | ssh anotherhost tar -xpf - -C /path/to/user/mailboxes
However, like previous poster pointed out, re-creating users on another system is a bit different matter.
How to do that depends what kind of users do you have? System users or virtual (stored in somekind of database, e.g. mysql)?

Last edited by deemon; 11th June 2008 at 11:43 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix error on 7.1 windependence FreeBSD Ports and Packages 3 2nd February 2009 10:42 AM
Recent problems with Postfix cajunman4life FreeBSD Ports and Packages 4 6th November 2008 11:51 PM
Postfix, SASL w/ LDAP kronic OpenBSD General 2 19th June 2008 06:49 AM
postfix setup Demodog General software and network 12 11th June 2008 07:43 PM
Need Help Configuring Postfix iainnitro General software and network 6 8th June 2008 04:55 AM


All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick