[Dovecot] Issue with converting users from cyrus user.domain.com

Timo Sirainen tss at iki.fi
Sun Apr 12 05:02:07 EEST 2009


On Sat, 2009-04-11 at 19:53 -0600, Preston Lord wrote:
> driver = mysql
> connect = host=127.0.0.1 dbname=mailserver user=mailuser password=xxxxxxxx
> default_pass_scheme = PLAIN-MD5
> password_query = SELECT email as user, password FROM view_users WHERE
> email='%u';
> 
> 
> 
> I was able to get it working if I changed the %u ... Is there a way to regex
> %u for @com in the config?

No, but I bet there are many different ways to do it with MySQL
functions in the password_query.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090411/d7bf7aa7/attachment.bin 


More information about the dovecot mailing list