[dovecot-cvs] dovecot dovecot-example.conf,1.236,1.237

tss at dovecot.org tss at dovecot.org
Mon Feb 12 21:41:13 UTC 2007


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv28314

Modified Files:
	dovecot-example.conf 
Log Message:
Added blocking=yes to PAM passdb to use auth workers instead of forking a
new process for each lookup.



Index: dovecot-example.conf
===================================================================
RCS file: /var/lib/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- dovecot-example.conf	2 Feb 2007 11:20:23 -0000	1.236
+++ dovecot-example.conf	12 Feb 2007 21:41:07 -0000	1.237
@@ -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.



More information about the dovecot-cvs mailing list