On Oct 7, 2008, at 7:16 PM, Roderick A. Anderson wrote:
Well these did seem to be set correctly (I've been experimenting with different settings).So use: passdb passwd-file { args = username_format=%n /var/mail/vhosts/%d/passwd }Here is a portion of "dovecot -n" output passdb: driver: passwd-file args: /var/mail/vhosts/%d/passwd userdb: driver: passwd-fileargs: uid=vmail gid=vmail username_format=%n /var/mail/vhosts/%d/ passwd
passwd-file has no such settings as uid and gid.
Where does userdb and passdb each come into play?
Password is looked up from the passdb. After user is successfully authenticated it looks up home directory, uid and gid from userdb.
Should their settings be the same since I'm using one file?
Yes.
PGP.sig
Description: This is a digitally signed message part