161 lines
5.9 KiB
Diff
161 lines
5.9 KiB
Diff
diff -Nru dovecot-1.0.alpha4.orig/dovecot-example.conf dovecot-1.0.alpha4/dovecot-example.conf
|
|
--- dovecot-1.0.alpha4.orig/dovecot-example.conf 2005-10-20 15:59:17.000000000 +0200
|
|
+++ dovecot-1.0.alpha4/dovecot-example.conf 2005-10-20 15:59:28.000000000 +0200
|
|
@@ -11,11 +11,11 @@
|
|
# --with-ssldir=/etc/ssl
|
|
|
|
# Base directory where to store runtime data.
|
|
-#base_dir = /var/run/dovecot/
|
|
+base_dir = /var/run/dovecot/
|
|
|
|
# Protocols we want to be serving:
|
|
# imap imaps pop3 pop3s
|
|
-#protocols = imap imaps
|
|
+protocols = imaps pop3s
|
|
|
|
# IP or host address where to listen in for connections. It's not currently
|
|
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
|
@@ -37,8 +37,8 @@
|
|
# dropping root privileges, so keep the key file unreadable by anyone but
|
|
# root. Included doc/mkcert.sh can be used to easily generate self-signed
|
|
# certificate, just make sure to update the domains in dovecot-openssl.cnf
|
|
-#ssl_cert_file = /etc/ssl/certs/dovecot.pem
|
|
-#ssl_key_file = /etc/ssl/private/dovecot.pem
|
|
+ssl_cert_file = /etc/ssl/certs/dovecot.crt
|
|
+ssl_key_file = /etc/ssl/keys/dovecot.key
|
|
|
|
# File containing trusted SSL certificate authorities. Usually not needed.
|
|
#ssl_ca_file =
|
|
@@ -48,7 +48,7 @@
|
|
|
|
# SSL parameter file. Master process generates this file for login processes.
|
|
# It contains Diffie Hellman and RSA parameters.
|
|
-#ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat
|
|
+ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat
|
|
|
|
# How often to regenerate the SSL parameters file. Generation is quite CPU
|
|
# intensive operation. The value is in hours, 0 disables regeneration
|
|
@@ -83,7 +83,7 @@
|
|
# 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
|
|
+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.
|
|
@@ -95,7 +95,7 @@
|
|
# only it has access, it's used to control access for authentication process.
|
|
# Note that this user is NOT used to access mails.
|
|
# http://wiki.dovecot.org/UserIds
|
|
-#login_user = dovecot
|
|
+login_user = dovecot
|
|
|
|
# Set max. process size in megabytes. If you don't use
|
|
# login_process_per_connection you might need to grow this.
|
|
@@ -105,11 +105,11 @@
|
|
# 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
|
|
+login_process_per_connection = no
|
|
|
|
# Number of login processes to create. If login_process_per_connection is
|
|
# yes, this is the number of extra processes waiting for users to log in.
|
|
-#login_processes_count = 3
|
|
+login_processes_count = 1
|
|
|
|
# Maximum number of extra login processes to create. The extra process count
|
|
# usually stays at login_processes_count, but when multiple users start logging
|
|
@@ -164,7 +164,7 @@
|
|
# non-valid GID as primary group ID aren't allowed to log in. If user
|
|
# belongs to supplementary groups with non-valid GIDs, those groups are
|
|
# not set.
|
|
-#first_valid_gid = 1
|
|
+first_valid_gid = 100
|
|
#last_valid_gid = 0
|
|
|
|
# Grant access to these extra groups for mail processes. Typical use would be
|
|
@@ -205,7 +205,7 @@
|
|
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
|
|
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
|
#
|
|
-#default_mail_env =
|
|
+default_mail_env = mbox:~/Mail:INBOX=/var/spool/mail/%u
|
|
|
|
# If you need to set multiple mailbox locations or want to change default
|
|
# namespace settings, you can do it by defining namespace sections:
|
|
@@ -391,10 +391,10 @@
|
|
|
|
protocol imap {
|
|
# Login executable location.
|
|
- #login_executable = /usr/libexec/dovecot/imap-login
|
|
+ login_executable = /usr/lib/dovecot/imap-login
|
|
|
|
# IMAP executable location
|
|
- #mail_executable = /usr/libexec/dovecot/imap
|
|
+ mail_executable = /usr/lib/dovecot/imap
|
|
# This would write rawlogs into ~/dovecot.rawlog/ directory:
|
|
#mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
|
|
|
|
@@ -444,10 +444,10 @@
|
|
|
|
protocol pop3 {
|
|
# Login executable location.
|
|
- #login_executable = /usr/libexec/dovecot/pop3-login
|
|
+ login_executable = /usr/lib/dovecot/pop3-login
|
|
|
|
# POP3 executable location
|
|
- #mail_executable = /usr/libexec/dovecot/pop3
|
|
+ mail_executable = /usr/lib/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
|
|
@@ -484,7 +484,7 @@
|
|
# installations. %08Xu%08Xv will be the new default, so use it for new
|
|
# installations.
|
|
#
|
|
- #pop3_uidl_format =
|
|
+ pop3_uidl_format = %08Xu%08Xv
|
|
|
|
# POP3 logout format string:
|
|
# %t - number of TOP commands
|
|
@@ -515,7 +515,7 @@
|
|
##
|
|
|
|
# Executable location
|
|
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
|
|
+auth_executable = /usr/lib/dovecot/dovecot-auth
|
|
|
|
# Set max. process size in megabytes.
|
|
#auth_process_size = 256
|
|
@@ -596,7 +596,7 @@
|
|
# Note that PAM can only be used to verify if user's password is correct,
|
|
# so it can't be used as userdb. If you don't want to use a separate user
|
|
# database (passwd usually), you can use static userdb.
|
|
- passdb pam {
|
|
+ #passdb pam {
|
|
# [-session] [cache_key=<key>] [<service name>]
|
|
#
|
|
# -session makes Dovecot open and immediately close PAM session. Some
|
|
@@ -616,7 +616,7 @@
|
|
# If service name is "*", it means the authenticating service name
|
|
# is used, eg. pop3 or imap.
|
|
#args = dovecot
|
|
- }
|
|
+ #}
|
|
|
|
# /etc/passwd or similar, using getpwnam()
|
|
# In many systems nowadays this uses Name Service Switch, which is
|
|
@@ -625,8 +625,8 @@
|
|
#}
|
|
|
|
# /etc/shadow or similiar, using getspnam(). Deprecated by PAM nowadays.
|
|
- #passdb shadow {
|
|
- #}
|
|
+ passdb shadow {
|
|
+ }
|
|
|
|
# BSD authentication. Used by at least OpenBSD.
|
|
#passdb bsdauth {
|