Syncing Mail After Cut Over
freebsd at celestial.com
Tue Apr 29 01:03:50 UTC 2008
On Mon, Apr 28, 2008, Chris Maness wrote:
>Whould it be acceptable to use rsync to sync the mail spool after using
>dump/restore onto new hardware? I plan on doing some testing first and
>leave the original server up while testing, so the servers mail spool will
>be out of sync.
This is easy if your mail stores use Maildir where each message
is in a file. I have done it many times, including at ISPs with
tens of thousands of e-mail accounts. We set up a new server,
create the necessary accounts on it, move all DNS to point to
that server so that clients go to the new one, then rsync over
their old $HOME directories to the new server.
It's a completely different kettle of fish if the mail stores are
in single files such as the standard BSD/Unix mail stores, U.W.
IMAP's binary format, etc.
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
Liberty means responsibility. That is why most men dread it.
-- George Bernard Shaw
More information about the freebsd-questions