[Dovecot] Account Migration Tool
I don't know if this tool already exists, or if not how difficult it would be to implement, but the following is an excerpt from the man page the developer needs to write ;) -
"imapcopy", a command-line utility that connects to a given IMAP account and copies the mails to a second IMAP account. This is accomplished using only IMAP commands and may be used with any IMAP compliant server - and may be used to copy mails between servers. Command line options include the ability to delete the messages after the copy (resulting in a move operation), selectively filter mail folders, and auto-folder creation.
-- Daniel
On 12/08/2009 08:10 PM dmiller@amfes.com wrote:
I don't know if this tool already exists, or if not how difficult it would be to implement, but the following is an excerpt from the man page the developer needs to write ;) -
"imapcopy", a command-line utility that connects to a given IMAP account and copies the mails to a second IMAP account. This is accomplished using only IMAP commands and may be used with any IMAP compliant server - and may be used to copy mails between servers. Command line options include the ability to delete the messages after the copy (resulting in a move operation), selectively filter mail folders, and auto-folder creation.
Hi,
goto http://www.linux-france.org/prj/imapsync/ and read the description in the README file. I've never tested this tool. But I think the description matches your 'requirements'.
Regards, Pascal
The trapper recommends today: c01dcofe.0934305@localdomain.org
Hello,
goto http://www.linux-france.org/prj/imapsync/ and read the description in the README file. I've never tested this tool. But I think the description matches your 'requirements'.
I used to tool to convert dozen of email account with up to 9GB each. No problem at all. Just do not forget to use the --subscribe option :)
I also have a little script converting vpasswd files of vpopmail into mysql based accounts which is using imapsync tools to move the existing accounts from the old server to the new one.
-- www.stonki.de www.proftpd.de www.kbarcode.net www.krename.net
- Stefan Onken <support@stonki.de>:
Hello,
goto http://www.linux-france.org/prj/imapsync/ and read the description in the README file. I've never tested this tool. But I think the description matches your 'requirements'.
I used to tool to convert dozen of email account with up to 9GB each. No problem at all. Just do not forget to use the --subscribe option :)
Definitely our preferred tool. The last time we used it, we migrated 25.000+ accounts and yes, we enabled --subscribe on the second run too... ;)
We also disabled syncing shared folders from the Exchange Servers; they weren't needed on the new system.
It's also nice to have a wrapper script that tracks exit codes and writes errors to a log, so you can attend them once the first run has passed through.
p@rick
Patrick Ben Koetter wrote:
- Stefan Onken <support@stonki.de>:
Hello,
goto http://www.linux-france.org/prj/imapsync/ and read the description in the README file. I've never tested this tool. But I think the description matches your 'requirements'.
I used to tool to convert dozen of email account with up to 9GB each. No problem at all. Just do not forget to use the --subscribe option :)
Definitely our preferred tool. The last time we used it, we migrated 25.000+ accounts and yes, we enabled --subscribe on the second run too... ;)
We also disabled syncing shared folders from the Exchange Servers; they weren't needed on the new system.
It's also nice to have a wrapper script that tracks exit codes and writes errors to a log, so you can attend them once the first run has passed through.
p@rick
Thanks all. Sounds like something we should link to in the wiki along with some Dovecot specific examples.
-- Daniel
Daniel L. Miller wrote:
Patrick Ben Koetter wrote:
- Stefan Onken <support@stonki.de>:
Hello,
goto http://www.linux-france.org/prj/imapsync/ and read the description in the README file. I've never tested this tool. But I think the description matches your 'requirements'.
I used to tool to convert dozen of email account with up to 9GB each. No problem at all. Just do not forget to use the --subscribe option :)
Definitely our preferred tool. The last time we used it, we migrated 25.000+ accounts and yes, we enabled --subscribe on the second run too... ;)
We also disabled syncing shared folders from the Exchange Servers; they weren't needed on the new system.
It's also nice to have a wrapper script that tracks exit codes and writes errors to a log, so you can attend them once the first run has passed through.
p@rick
Thanks all. Sounds like something we should link to in the wiki along with some Dovecot specific examples.
And of course...it was already there!! Need to add a few more fireworks around it - looks like something every mail admin should have in his toolkit.
-- Daniel
participants (5)
-
Daniel L. Miller
-
dmiller@amfes.com
-
Pascal Volk
-
Patrick Ben Koetter
-
Stefan Onken