Thanks for that script, I'm importing mail with zero fuss as we speak!
The only things I would like to mention is that your script has your e-mail domain listed in it, and for some reason having my mail in /tmp/migrate/user/mail didn't seem to work, it was fine though if I just moved the files to /tmp/mail/user/mail, so maybe a section to add in a parameter on the command line for it?
Also the speed seems slow but I guess if it re-opens zmmailbox for each message then that would explain it.
Other than that it works great! Shame this isn't on the wiki. |