[dovecot-cvs] dovecot dovecot-example.conf,1.194.2.36,1.194.2.37

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


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

Modified Files:
      Tag: branch_1_0
	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.194.2.36
retrieving revision 1.194.2.37
diff -u -d -r1.194.2.36 -r1.194.2.37
--- dovecot-example.conf	2 Feb 2007 11:20:20 -0000	1.194.2.36
+++ dovecot-example.conf	12 Feb 2007 21:41:05 -0000	1.194.2.37
@@ -772,7 +772,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