[Dovecot] SQL user_query question

Timo Sirainen tss at iki.fi
Thu Jan 31 16:54:32 EET 2008


On Thu, 2008-01-24 at 06:10 -0600, John Dubchak wrote:
> I would have expected the above %d to contain the "domain" SELECT  
> value from the password_query, but that doesn't seem to be the case.

Your password_query most likely dropped the domain by returning user
field as Dovecot's "user" field. Have it return instead something like:

password_query = select concat(user, '@', domain) as user, ...

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


More information about the dovecot mailing list