Yeah I got dbmail configured for multiple servers hosting the same domain (or others) but need an option to move users to another server hence the question came up during this post.
I'll stick to my migration script which uses the dbmail mailbox2dbmail command. Works but only good once as if the source deletes an email, it stays on the receiving side.. but I guess you wouldn't be switching back to the source again after that anyway.. GV -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Simon Gray Sent: Thursday, 17 September 2009 7:37 PM To: DBMail mailinglist Subject: Re: [Dbmail] IMAP quick resync? George Vieira wrote: > Hey Shane, > > I'm looking for a way to "rsync" mail to a second server for mail migration.. > I've worked out how to have multiple servers serving the same domain so you > could have users in different locations and either mail server acting as a MX > to the other for failover but need the ability to 'sync' the mail across when > moving users to other mail stores/servers. > > Since a mysqldump isn't really the right answer I thought a possible sync via > a imap connection and store locally but it would need to be quicker if the > mail already exists. > Not sure if this would be a good dbmail-rsync approach or just scripted but > would make my project with dbmail quite handy since I'm working on a php > based possibly enterprise level dbmail interface. > > Again, off topic but... http://www.maatkit.org/doc/mk-table-sync.html Is an option - it isn't great with large tables though. You could just use replication? (obviously wouldn't be email user/domain level aware) Ideally, need to be able to partition users/domains between servers - could probably achieve something with a modified imap front end which decides which backend to use. (or a complicated mysql proxy route?) S _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
