SLUG Mailing List Archives
Re: [SLUG] migrating mail server Maildirs, howto copy ?
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] migrating mail server Maildirs, howto copy ?
- From: "Voytek Eymont" <lists@xxxxxxxxxx>
- Date: Fri, 9 Nov 2007 08:51:43 +1100 (EST)
- Reply-to: lists@xxxxxxxxxx
- User-agent: SquirrelMail/1.5.1
On Fri, November 9, 2007 12:51 am, Gonzalo Servat wrote:
> On Nov 8, 2007 10:21 AM, Voytek Eymont <lists@xxxxxxxxxx> wrote:
> I've done a few mail server migrations in the past and a bit of DNS
> trickery helps in not loosing mail. What I would do is set the TTL really
> hours, for me it was never an issue. I would then copy all mail over (using
> whichever method you prefer .. as suggested by Jeff & David). At this
> point it's probably a good idea to update the MX record (or the A record,
> if you want to keep the MX record it points to) so that it points at the
> new mail server. After 24-48 hours, I would turn off the port forward and
> monitor the logs to ensure no legitimate email is being received.
I'm going to have oldmail server forward all mail to new mailserver with
smtp static assignement, then, re-run
rsync old:/var/mail/vhost with new:/var/mail/vhost
with 'delete' option
perhaps rerun rsync with delete over the weekend few more times
-redirect smtp old > new
-alter pop CNAME
I think that should, do,
-keep fingers crossed
> Good luck!
yes, with me at the keyboard, that's important (as most ppl here realize)