Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 5121:cf996f8e9c89 HEAD
Added blocking=yes to PAM passdb to use auth workers instead of forking a
new process for each lookup.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 12 Feb 2007 23:41:07 +0200 |
parents | 176c28ad604c |
children | 419b206fd10c |
line wrap: on
line diff
--- a/dovecot-example.conf Mon Feb 12 23:07:42 2007 +0200 +++ b/dovecot-example.conf Mon Feb 12 23:41:07 2007 +0200 @@ -780,7 +780,12 @@ # authentication to actually work. # http://wiki.dovecot.org/PasswordDatabase/PAM passdb pam { - # [session=yes] [setcred=yes] [cache_key=<key>] [<service name>] + # [blocking=yes] [session=yes] [setcred=yes] + # [cache_key=<key>] [<service name>] + # + # By default a new process is forked from dovecot-auth for each PAM lookup. + # Setting blocking=yes uses the alternative way: dovecot-auth worker + # processes do the PAM lookups. # # session=yes makes Dovecot open and immediately close PAM session. Some # PAM plugins need this to work, such as pam_mkhomedir.