[Dovecot] problem with userdb_ on pgsql

Timo Sirainen tss at iki.fi
Sun Apr 9 15:03:19 EEST 2006


On Mon, 2006-04-03 at 11:42 -0700, chester c young wrote:
> # password_query = SELECT login as user, passwd as password,
>    home as userdb_home, 5020 as userdb_uid, 5020 as userdb_gid
>    FROM mail.dovecot_passwd_v WHERE login = '%n'
> 
> when #3, instead of #1 and #2 is used,  it still calls a default user_query.

Yes it does if you've "userdb sql" in dovecot.conf. Remove it and add
"userdb prefetch".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060409/73514c94/attachment.pgp


More information about the dovecot mailing list