[Dovecot] Feature request: usernames and passwords

Pascal Volk user+dovecot at localhost.localdomain.org
Wed Jul 21 16:27:04 EEST 2010


On 07/21/2010 02:35 PM Thanos Chatziathanassiou wrote:
> Correct. Should be fairly easy to do - just need a compatible crypt() 
> function in SQL. Never thought of that.

MySQL's encrypt() is your friend:
select encrypt('foo', 'ab');
select encrypt('foo', '$1$01234567');
select encrypt('foo', '$5$rounds=1000$0123456789abcdef');
select encrypt('foo', '$6$rounds=1000$0123456789abcdef');


Regards,
Pascal
-- 
The trapper recommends today:
	http://kopfkrebs.de/mitarbeiter/mitarbeiter_der_woche.html


More information about the dovecot mailing list