On 24-02-14 06:05, Mr.Pine wrote:
> I am using roundcube Password Plugin. I enabled sql driver with this
> query. pgsql is my backend db.
>
> $rcmail_config['password_query'] = 'UPDATE dbmail_users SET passwd=%p
> WHERE userid=%u AND passwd=%o';
>
> I think there is a problem in creating new md5 crypt password file. i
> can use passwd=md5(%p) but seems there is different between dbmail-users
> and this function.
>
> dbmail-users -a [email protected] <mailto:[email protected]> -p md5 -w
> mypassword
Use -p md5-digest to generate a plain MD5 digest. Using -p md5 falls
back to -p md5-hash which generates a salted hash. Don't ask me why -p
md5 works like that. Seems counterintuitive, but there you go.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, github, linkedin
www.nfg.nl/[email protected]/+31.85.877.99.97
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail