[Dovecot] Authentication using native MySQL PASSWORD() function

Tom Sommer ts at dreamcoder.dk
Thu Oct 27 16:40:04 EEST 2005


Timo Sirainen wrote:
> On Thu, 2005-10-27 at 15:00 +0200, Tom Sommer wrote:
> 
>>Hi,
>>
>>I have a little problem, I need to adapt a setup that currently uses the 
>>native MySQL PASSWORD() function to encrypt passwords for e-mail accounts.
>>
>>I plan on using Dovecot with SQL to authenticate on my server, is there 
>>a password scheme that fits this authentication method?
> 
> 
> Not really.. I guess you could use pam_mysql to check it. Or even a
> checkpassword script if that won't work. But using it directly as passdb
> sql would require Dovecot to know the mysql-password() scheme.

But if I compile dovecot with --with-mysql, would it not be possible for 
dovecot to learn the mysql-password() scheme?

I would really like to avoid using PAM - and the choice of PASSWORD() as 
authentication is really putting a stop to my plans

Thanks
--
Tom Sommer


More information about the dovecot mailing list