View Full Version : Postfix exporting
skywalker
06-11-2008, 07:52 AM
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
corey_james
06-11-2008, 09:56 AM
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
skywalker
06-11-2008, 10:08 AM
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
gkontos
06-11-2008, 12:39 PM
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
deemon
06-11-2008, 12:40 PM
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:
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)?
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.