Yes, to successfully use imapsync you're going to need to know all of your user's passwords.
In my case I'm migrating from a non-ldapified mail server to Zimbra which will be authing against an external LDAP server. I've already got my users in LDAP and they all have passwords set that are unknown. I just threw together a quick script to grab those password hashes, stick them in a file and then set everyone's password to a known value. I have a similar script to hack up the /etc/shadow file on the source imap server. After the migration, I have another script that reads that file and restores LDAP passwords, and I can restore /etc/shadow from a backup that I will make before munging it.
This does mean that any other LDAPified services will be fubared while I'm doing the imapsync. Fortunately, I don't have too many of those yet.
|