Email passwords from Ensim to DA

angler

Verified User
Joined
Dec 21, 2004
Messages
23
Looking at Ensim the email users passwords are in
/home/virtual/domain.com/etc/shadow

In DA it they appear to be in:
/etc/virtual/domain.com/passwd

I am referring to the virtual email users and not the main accounts. How do I convert my shadow encrypted passwords to the DA passwd format? The strings are much shorter. I tried just replacing it but it is not working.
 
this makes sense however i have no idea what MTA ensim uses (da uses Exim) and most likely DA would be using a different type of encryption if they appear different.

you should contact DA support directly about this one I think.

they could be using php crypt or something similar.

van
 
Make simple script to fetch crypted password from ensim to da. And your password format should be:
Code:
emailuser:cryptedpassword
emailuser2:cryptedpassword
I'm using old crypted password from my ensim panel. Nice it work!! & i don't need tell our client password.
 
Thanks, I got this figured out. I'm still wondering why main account users passwords are stored in MD5 and the virtual email users are stored in DES...
 
Hello,

Thanks for pointing that out.
We use a global getCrypted() function, which we had converted to MD5 a while back. I didn't realize the email password crypting was done manually without using the global funciton, hence the old fashioned encryption was used. The MD5 email password settings will be out with the next release.

John
 
DirectAdmin Support said:
Hello,

Thanks for pointing that out.
We use a global getCrypted() function, which we had converted to MD5 a while back. I didn't realize the email password crypting was done manually without using the global funciton, hence the old fashioned encryption was used. The MD5 email password settings will be out with the next release.

John

Sounds good!
 
Back
Top