Hi to everybody,
I'm migrating an old mail server (based on webmin) to the new one(based on ISPConfig 3).
For the migration I've just created in ISPConfig the domains and the emails, and after I've copied /var/vmail from the old server to the new one.
I can read the old mail and it's ok.
The only problem that I have is for the email's password.
Basically webmin is using as encrytion the mysql way: ENCRYPT('password'), but ISPConfig is using another method, the CRYPT-MD5.
Now, I know how to create an ISPConfig password from a non-crypted password, because I created this php script:
$password = crypt('password' , '$email@example.com$');
print $password . " is the CRYPT-MD5 version of my old password<br>";
and it's working perfectly.
The point is I haven't the non-encrypt passwords, but they are encrypted.
So the only way that I can see to complete the migration is changing the encryption policy of ISPConfig from CRYPT-MD5 to ENCRYPT.
Is it possible to do?
Do you know how to do it?