[Dovecot] Virtual Users, PAM authentication, MySql backend

Timo Sirainen
Tue, 30 Nov 2010 15:33:17 -0000

On 30.11.2010, at 12.30, ?lvaro Le?o wrote:

> Can I use PAM authentication, witch get the users data from a external
> database (like mysql)? I've found many ways to do this stuff
disconnectedly
> (like pam authentication with passwd ), but i can put all together? I
can't
> use the passwd...

So I guess you mean something like (v1.x configuration):

passdb pam {
}
userdb sql {
  args = /etc/dovecot/dovecot-sql.conf
}