7 Oct
2008
7 Oct
'08
7:20 p.m.
On Oct 7, 2008, at 7:16 PM, Roderick A. Anderson wrote:
So use: passdb passwd-file { args = username_format=%n /var/mail/vhosts/%d/passwd } Well these did seem to be set correctly (I've been experimenting
with different settings).Here is a portion of "dovecot -n" output
passdb: driver: passwd-file args: /var/mail/vhosts/%d/passwd userdb: driver: passwd-file args: 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.