Markus Bonet
2009-Aug-25 13:55 UTC
[Dovecot] setting up both system password users AND virtual users
Hi, I want to pick up this discussion. I am trying to achieve the same, but I am using Maildir instead. Here's the (relevent part of the) config file as configured by the recent suggestion: # We're using Maildir format mail_location = maildir:~/Maildir # Authentication configuration: auth_verbose = yes auth default { mechanisms = plain userdb passwd { } userdb static { args = uid=vmail gid=vmail home=/daten/mailusers/%u } passdb passwd-file { args = /etc/dovecot/passwd } } But when I try to login in to a system's user mailbox, it'll be rejected as unknown in my Dovecot's passwd file. I am converting from courier-imap, so I am kind of new to Dovecot. Markus
Timo Sirainen
2009-Sep-07 01:38 UTC
[Dovecot] setting up both system password users AND virtual users
On Tue, 2009-08-25 at 15:55 +0200, Markus Bonet wrote:> userdb passwd { > } > > userdb static { > args = uid=vmail gid=vmail home=/daten/mailusers/%u > } > > passdb passwd-file { > args = /etc/dovecot/passwd > } > } > > But when I try to login in to a system's user mailbox, it'll be rejected as > unknown in my Dovecot's passwd file.Right, because the only passdb is for virtual users. You need also passdb pam. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090906/f3acf5c4/attachment-0002.bin>