Hi! Is this possible? I couldn't find any writings about the 'auth' (like 'auth default') keyword in the wiki. What does that mean? Can I setup seperate user and password dbs for sepearate circumstances? I've tried to experiment with it and added two auths: auth pop3 { mechanisms = plain digest-md5 passdb passwd-file { args = /etc/dovecot_pop3.passwd } userdb passwd-file { args = /etc/dovecot_pop3.passwd } user = _dv_auth } auth imap { mechanisms = plain digest-md5 passdb passwd-file { args = /etc/dovecot_imap.passwd } userdb passwd-file { args = /etc/dovecot_imap.passwd } user = _dv_auth } But how can I configure dovecot to use the 'auth imap' for imap authentications, and use 'auth pop3' for pop3 authentications. With the above setup dovecot always try to use the last one (auth imap). Any help would be appreciated! Thanks! Daniel -- LeVA
> But how can I configure dovecot to use the 'auth imap' for imap > authentications, and use 'auth pop3' for pop3 authentications. With the > above setup dovecot always try to use the last one (auth imap). > Any help would be appreciated!You do not need to have separate auth sections to do what you want. Simply use variables to specify the service name in the path of the password file: auth default { mechanisms = plain digest-md5 passdb passwd-file { args = /etc/dovecot_%Ls.passwd } userdb passwd-file { args = /etc/dovecot_%Ls.passwd } user = _dv_auth } %s should give you POP3 or IMAP, and the L modifier should make it lowercase. This is documented on the Variables page of the wiki. Scott