That's beyond me. I'd have a look at the vpopmail source code.
And google of course.

Rajesh M wrote:
hi

i ready the docs and found that method used is salted md5

i need some help in this

let us say i the password is : abc

then what is the function to generate the salted md5 hash ?

thanks
rajesh


Eric Shubert wrote:
Jake Vickers wrote:
Eric Shubert wrote:
Rajesh M wrote:
hi

one of my client's need that their users  change passwords at
specific
intervals. The don't want to use the squirrelmail option.

i am planning to carry this out using php and directly edit the
vpopmail
database.

i need to know the method followed for password encryption in the
mysql
database

help please ?

thanks very much

rajesh

---------------------------------------------------------------------------------

I'd look into the source code for vpopmail-toaster. I'm guessing
that your answer would be in vadduser.c

By default they're not encoded, unless you changed that setting.


---------------------------------------------------------------------------------

I think they're stored both encoded and in plain text by default. See
results of /home/vpopmail/vuserinfo command. I'm not sure what the
encoding mechanism is though, or exactly how it's used.

It will be the default hashing for mysql - I think I wrote something on
this 2 years or so ago if you want to dig in the archives for it (not
you Eric)

---------------------------------------------------------------------------------


--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to