US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > Modifications / Add-ons > Scripting / API


Reply
 
Thread Tools
Old 10-27-2009, 07:29 PM   #1
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default 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?
bakon is offline   Reply With Quote
Old 10-28-2009, 07:19 AM   #2
ISPsystem team
 
Join Date: Jan 2009
Posts: 111
GakcaT is on a distinguished road
Default

I don't understand what do you wanna do. Explain in detail.
GakcaT is offline   Reply With Quote
Old 10-28-2009, 11:45 AM   #3
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default

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.
bakon is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:43 AM.