ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Scripting / API (http://forum.ispsystem.com//forumdisplay.php?f=13)
-   -   Create an email with crypt password (http://forum.ispsystem.com//showthread.php?t=792)

bakon 10-27-2009 07:29 PM

Create an email with crypt password
 
If we want to create an email account we can do it with:
http://127.0.0.1/manager/ispmgr?out=...RD&quota=QUOTA

Doc: http://ispsystem.com/docs/isp-lite-en-devel/index.html

But if we want to create an email and we have the passwords crypted how could we do it?
So we have, for example, the password of the user encrypted with MD5, how could we create it?

GakcaT 10-28-2009 07:19 AM

I don't understand what do you wanna do. Explain in detail.

bakon 10-28-2009 11:45 AM

Exim could store passwd of email users in 3 ways:
plain, sasl, md5 (crypted)

If we have it in md5 mode:
1) Will "ImportUser" (fnuction to migrate accounts between servers) work with no problem?
2) We have some servers with Ispmanager, and we are migrating accounts. Sometimes, ImportUser doesn't do it well, so we have to extract a list of "EMAIL,PASSWORD" to restore it at another server. We extract something like this in a file:
EMAIL1,PASSWORD1
EMAIL2,PASSWORD2
...
EMAILN,PASSWORDN

To restore, we use the API of Ispmanager, but we haven't seen that it could be posible to create an email user with crypted password, so something like this:
http://127.0.0.1/manager/ispmgr?out=...&passwdmd5=YES
So we have added: "&passwdmd5=YES"

Could it be posible that feature to create an email with the crypted password.

I hope that now it is more detailed.
We wait for your news.

Thank you.


All times are GMT +2. The time now is 08:02 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.