31 Mar
2009
31 Mar
'09
7:13 p.m.
On Mar 30, 2009, at 9:00 AM, Sebastian Chociwski wrote:
auth default { passdb sql { args = /etc/dovecot/dovecot-mysql.conf }
userdb static { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes } } auth secondary { passdb sql { args = /etc/dovecot/dovecot-mysql2.conf } userdb static { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes } }
Don't use two auth {} blocks. It doesn't work the way you think it
does.You can put multiple passdbs and userdbs inside the same auth
block, but you can't put two userdb statics there. The first one will
always match all users. But since they both are identical it doesn't
matter, just put it there once.