dovecot-2.0: dovecot-example.conf: Removed (most) settings that ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 31 20:00:53 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/3e9f77da6a6f
changeset: 9836:3e9f77da6a6f
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 31 13:00:47 2009 -0400
description:
dovecot-example.conf: Removed (most) settings that are no longer used.

diffstat:

1 file changed, 94 deletions(-)
dovecot-example.conf |   94 --------------------------------------------------

diffs (158 lines):

diff -r 4bd18ca73175 -r 3e9f77da6a6f dovecot-example.conf
--- a/dovecot-example.conf	Mon Aug 31 13:00:12 2009 -0400
+++ b/dovecot-example.conf	Mon Aug 31 13:00:47 2009 -0400
@@ -23,24 +23,6 @@
 # Protocols we want to be serving: imap imaps pop3 pop3s
 # If you only want to use dovecot-auth, you can set this to "none".
 #protocols = imap imaps
-
-# A space separated list of IP or host addresses where to listen in for
-# connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
-# interfaces. Use "*, [::]" for listening both IPv4 and IPv6.
-#
-# If you want to specify ports for each service, you will need to configure
-# these settings inside the protocol imap/pop3 { ... } section, so you can
-# specify different ports for IMAP/POP3. For example:
-#   protocol imap {
-#     listen = *:10143
-#     ssl_listen = *:10943
-#     ..
-#   }
-#   protocol pop3 {
-#     listen = *:10100
-#     ..
-#   }
-#listen = *
 
 # Disable LOGIN command and all other plaintext authentications unless
 # SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP
@@ -81,11 +63,6 @@
 ## SSL settings
 ##
 
-# IP or host address where to listen in for SSL connections. Remember to also
-# add imaps and/or pop3s to protocols setting. Defaults to same as "listen"
-# setting if not specified.
-#ssl_listen =
-
 # SSL/TLS support: yes, no, required. <doc/wiki/SSL>
 #ssl = yes
 
@@ -133,42 +110,11 @@ ssl_key = </etc/ssl/private/dovecot.pem
 
 # <doc/wiki/LoginProcess.txt>
 
-# Directory where authentication process places authentication UNIX sockets
-# which login needs to be able to connect to. The sockets are created when
-# running as root, so you don't have to worry about permissions. Note that
-# everything in this directory is deleted when Dovecot is started.
-#login_dir = /var/run/dovecot/login
-
-# chroot login process to the login_dir. Only reason not to do this is if you
-# wish to run the whole Dovecot without roots. <doc/wiki/Rootless.txt>
-#login_chroot = yes
-
-# User to use for the login process. Create a completely new user for this,
-# and don't use it anywhere else. The user must also belong to a group where
-# only it has access, it's used to control access for authentication process.
-# Note that this user is NOT used to access mails. <doc/wiki/UserIds.txt>
-#login_user = dovecot
-
-# Set max. process size in megabytes. If you don't use
-# login_process_per_connection you might need to grow this.
-#login_process_size = 64
-
 # Should each login be processed in it's own process (yes), or should one
 # login process be allowed to process multiple connections (no)? Yes is more
 # secure, espcially with SSL/TLS enabled. No is faster since there's no need
 # to create processes all the time.
 #login_process_per_connection = yes
-
-# Number of login processes to keep for listening new connections.
-#login_processes_count = 3
-
-# Maximum number of login processes to create. The listening process count
-# usually stays at login_processes_count, but when multiple users start logging
-# in at the same time more extra processes are created. To prevent fork-bombing
-# we check only once in a second if new processes should be created - if all
-# of them are used at the time, we double their amount until the limit set by
-# this setting is reached.
-#login_max_processes_count = 128
 
 # Maximum number of connections allowed per each login process. This setting
 # is used only if login_process_per_connection=no. Once the limit is reached,
@@ -361,12 +307,6 @@ ssl_key = </etc/ssl/private/dovecot.pem
 # methods. NFS users: flock doesn't work, remember to change mmap_disable.
 #lock_method = fcntl
 
-# Drop all privileges before exec()ing the mail process. This is mostly
-# meant for debugging, otherwise you don't get core dumps. It could be a small
-# security risk if you use single UID for multiple users, as the users could
-# ptrace() each others processes then.
-#mail_drop_priv_before_exec = no
-
 # Show more verbose process titles (in ps). Currently shows user name and
 # IP address. Useful for seeing who are actually using the IMAP processes
 # (eg. shared mailboxes or if same uid is used for multiple accounts).
@@ -385,14 +325,6 @@ ssl_key = </etc/ssl/private/dovecot.pem
 # not set.
 #first_valid_gid = 1
 #last_valid_gid = 0
-
-# Maximum number of running mail processes. When this limit is reached,
-# new users aren't allowed to log in.
-#max_mail_processes = 512
-
-# Set max. process size in megabytes. Most of the memory goes to mmap()ing
-# files, so it shouldn't harm much even if this limit is set pretty high.
-#mail_process_size = 256
 
 # Maximum allowed length for mail keyword name. It's only forced when trying
 # to create new keywords.
@@ -541,22 +473,6 @@ ssl_key = </etc/ssl/private/dovecot.pem
 ##
 
 protocol imap {
-  # Login executable location.
-  #login_executable = /usr/libexec/dovecot/imap-login
-
-  # IMAP executable location. Changing this allows you to execute other
-  # binaries before the imap process is executed.
-  #
-  # This would write rawlogs into user's ~/dovecot.rawlog/, if it exists:
-  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
-  # <doc/wiki/Debugging/Rawlog>
-  #
-  # This would attach gdb into the imap process and write backtraces into
-  # /tmp/gdbhelper.* files:
-  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
-  #
-  #mail_executable = /usr/libexec/dovecot/imap
-
   # Maximum IMAP command line length in bytes. Some clients generate very long
   # command lines with huge mailboxes, so you may need to raise this if you get
   # "Too long argument" or "IMAP command line too large" errors often.
@@ -618,13 +534,6 @@ protocol imap {
 ##
 
 protocol pop3 {
-  # Login executable location.
-  #login_executable = /usr/libexec/dovecot/pop3-login
-
-  # POP3 executable location. See IMAP's mail_executable above for examples
-  # how this could be changed.
-  #mail_executable = /usr/libexec/dovecot/pop3
-
   # Don't try to set mails non-recent or seen with POP3 sessions. This is
   # mostly intended to reduce disk I/O. With maildir it doesn't move files
   # from new/ to cur/, with mbox it doesn't write Status-header.
@@ -739,9 +648,6 @@ protocol lda {
 ##
 ## Authentication processes
 ##
-
-# Executable location
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
 
 # Authentication cache size in kilobytes. 0 means it's disabled.
 # Note that bsdauth, PAM and vpopmail require cache_key to be set for caching


More information about the dovecot-cvs mailing list