Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Voytek Eymont
On Fri, November 9, 2007 12:51 am, Gonzalo Servat wrote: > On Nov 8, 2007 10:21 AM, Voytek Eymont <[EMAIL PROTECTED]> 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 -snip- > hours, for me it

Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Gonzalo Servat
On Nov 8, 2007 10:21 AM, Voytek Eymont <[EMAIL PROTECTED]> wrote: > > [..snip..] > James, Dave, thanks > > between the time I copy it, and, the mail server is transferred, there are > bound to be emails deleted/removed from main server, (as well as new ones > added), > I've done a few mail server

Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Gonzalo Servat
On Nov 8, 2007 10:51 AM, Gonzalo Servat <[EMAIL PROTECTED]> wrote: > [..snip..] > 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 > low (< 10 mins) for the domain I was transferring (so that all records

Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Voytek Eymont
On Thu, November 8, 2007 9:34 pm, Dave Kempe wrote: > Voytek Eymont wrote: > why no just rsync it as root with -av and you preserve all the ownership James, Dave, thanks between the time I copy it, and, the mail server is transferred, there are bound to be emails deleted/removed from main serve

Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Jeff Waugh
> I was looking at activate the new mail server, and, then, rsync the > existing Maildirs to 'synchronize' old & new servers; > > as I'm the only user with shell access, should I just add shell access to > user '5000' for the purpose of running rsync, then, remove it? > > or, what's a proper wa

Re: [SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Dave Kempe
Voytek Eymont wrote: or, what's a proper way to do this copy ? why no just rsync it as root with -av and you preserve all the ownership and don't need to worry. OTOH, if you stuff it up, a recursive chown will fix it, so no need to worry. dave -- SLUG - Sydney Linux User's Group Mailing Lis

[SLUG] migrating mail server Maildirs, howto copy ?

2007-11-08 Thread Voytek Eymont
I'm migrating mail server to new server; all mail is for virtual users in /var/home/vhosts/%dom.tld%/%user&/Maildir; owned by '5000' as so drwx--5 5000 5000 I was looking at activate the new mail server, and, then, rsync the existing Maildirs to 'synchronize' old & new servers; as I