[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
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.
participants (2)
-
Markus Bonet
-
Timo Sirainen