I posted a similiar thread a while ago but found a different way of setting things up and now have a different question.
On some of our non-cpanel FREEBSD boxes we want to move a hundred or so pop3 accounts on one domain to a cpanel box. We created the domain/account and then using addpop in /scripts we created the hundred or so email accounts. However we had to just put in a generic password because of course we cannot extract passwords from the non-cpanel boxes des or md5 hash in master.passwd.
We CAN extract the username and password in the hash format from the old password file on the old server but not decrypt it so what I was wondering, is there a way to get addpop to use the existing DES or md5 hash password when building the pop3 accounts?.
Normally we do "./addpop bob@whatever.com bobspasswd"
I would like to do "./addpop bob@whatever.com $1a.c9583/cg$30930"or use the encrypted password from the old password file.
We have moved many older users from one freebsd box to another by just copying master.passwd, editing it as needed and doing a pwd_mkdb, but I see that cpanel creates a "passwd" and a "shadow" in the /etc folder for the domain and not a "master.passwd" so I am sure its doing something different. Has anyone done this with cpanel?. I really would like to use the existing passwords and not have to go through the nightmare of telling a hundred people their new password or waiting for complaints from people who cannot login to email anymore.
Thanks.![]()



LinkBack URL
About LinkBacks
Reply With Quote






