|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/share/doc/dovecot-1.0.7/wiki/ |
Upload File : |
Multiple Authentication Databases
=================================
Dovecot supports defining multiple authentication databases, so that if the
password doesn't match in the first database, it checks the next one. This can
be useful if you want to easily support having both local system users in
/etc/passwd and virtual users.
Currently the fallbacking works only with PLAIN authentication mechanism.
This can be configured in the following way:
---%<-------------------------------------------------------------------------
auth default {
mechanisms = plain
# try to authenticate using SQL database first
passdb sql {
args = /etc/dovecot-sql.conf
}
# fallback to PAM
passdb pam {
}
# look up users from SQL first (even if authentication was done using PAM!)
userdb sql {
args = /etc/dovecot-sql.conf
}
# if not found, fallback to /etc/passwd
userdb passwd {
}
}
---%<-------------------------------------------------------------------------
(This file was created from the wiki on 2007-06-15 04:42)