From: Timo Sirainen Date: Mon, 31 Aug 2009 17:00:12 +0000 (-0400) Subject: dovecot-master-example.conf: Added some comments. X-Git-Tag: 2.0.alpha1~217 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7710e46bf0130b23d93d5a8aa90e5ca6928ce2c;p=thirdparty%2Fdovecot%2Fcore.git dovecot-master-example.conf: Added some comments. --HG-- branch : HEAD --- diff --git a/dovecot-master-example.conf b/dovecot-master-example.conf index 167a848b96..becf84dbb9 100644 --- a/dovecot-master-example.conf +++ b/dovecot-master-example.conf @@ -1,3 +1,6 @@ +default_process_limit = 100 +default_client_limit = 1000 + service config { type = config executable = config @@ -33,6 +36,7 @@ service auth { # default unix_listener { + # The path must match the auth section name path = login/default mode = 0666 } @@ -62,6 +66,7 @@ service auth-worker { service imap-login { type = auth-source executable = imap-login + auth_dest_service = imap inet_listener { address = *, :: @@ -74,19 +79,33 @@ service imap-login { } user = dovecot - vsz_limit = 64 client_limit = 1 + # If you increase client_limit, you probably need to grow this. + vsz_limit = 64 + # The only reason not to chroot login process is if you wish to run the + # whole Dovecot without roots. chroot = login - auth_dest_service = imap } service imap { + # This would write rawlogs into user's ~/dovecot.rawlog/, if it exists: + # executable = rawlog /usr/libexec/dovecot/imap + # + # + # This would attach gdb into the imap process and write backtraces into + # /tmp/gdbhelper.* files: + # executable = gdbhelper /usr/libexec/dovecot/imap executable = imap + + # Most of the memory goes to mmap()ing files. You may need to increase this + # limit if you have huge mailboxes. + #vsz_limit = 256 } service pop3-login { type = auth-source executable = pop3-login + auth_dest_service = pop3 inet_listener { address = *, :: @@ -102,7 +121,6 @@ service pop3-login { vsz_limit = 64 client_limit = 1 chroot = login - auth_dest_service = pop3 } service pop3 {