From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 01:03:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B8D106564A for ; Tue, 29 Apr 2008 01:03:49 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id B9FCE8FC1F for ; Tue, 29 Apr 2008 01:03:49 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 6E87068BDAA47; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zevjXYJTeYEZ; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 456B468610B2E; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) Date: Mon, 28 Apr 2008 18:03:48 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20080429010348.GA3568@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: Syncing Mail After Cut Over X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 01:03:50 -0000 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. Bill -- INTERNET: bill@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