2009-07-13 14:33:17 +00:00
|
|
|
diff -up dovecot-1.2.1/dovecot-example.conf.default-settings dovecot-1.2.1/dovecot-example.conf
|
|
|
|
--- dovecot-1.2.1/dovecot-example.conf.default-settings 2009-07-13 09:05:54.735890052 +0200
|
|
|
|
+++ dovecot-1.2.1/dovecot-example.conf 2009-07-13 09:09:23.309020322 +0200
|
|
|
|
@@ -10,18 +10,14 @@
|
2008-06-21 08:24:01 +00:00
|
|
|
# value inside quotes, eg.: key = "# char and trailing whitespace "
|
|
|
|
|
|
|
|
# Default values are shown for each setting, it's not required to uncomment
|
2009-07-13 14:33:17 +00:00
|
|
|
-# those. These are exceptions to this though: No sections (e.g. namespace {})
|
|
|
|
-# or plugin settings are added by default, they're listed only as examples.
|
|
|
|
-# Paths are also just examples with the real defaults being based on configure
|
|
|
|
-# options. The paths listed here are for configure --prefix=/usr
|
|
|
|
-# --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl
|
2008-06-21 08:24:01 +00:00
|
|
|
+# any of the lines.
|
|
|
|
|
|
|
|
# Base directory where to store runtime data.
|
|
|
|
#base_dir = /var/run/dovecot/
|
|
|
|
|
2009-01-13 18:57:15 +00:00
|
|
|
# Protocols we want to be serving: imap imaps pop3 pop3s managesieve
|
2008-06-21 08:24:01 +00:00
|
|
|
# If you only want to use dovecot-auth, you can set this to "none".
|
|
|
|
-#protocols = imap imaps
|
|
|
|
+#protocols = imap imaps pop3 pop3s
|
|
|
|
|
|
|
|
# A space separated list of IP or host addresses where to listen in for
|
|
|
|
# connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
|
2009-07-13 14:33:17 +00:00
|
|
|
@@ -43,13 +39,13 @@
|
2009-01-13 18:57:15 +00:00
|
|
|
# listen = *:12000
|
2008-06-21 08:24:01 +00:00
|
|
|
# ..
|
|
|
|
# }
|
|
|
|
-#listen = *
|
2008-06-27 07:22:55 +00:00
|
|
|
+#listen = *, [::]
|
2008-06-21 08:24:01 +00:00
|
|
|
|
|
|
|
# Disable LOGIN command and all other plaintext authentications unless
|
|
|
|
# SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP
|
|
|
|
# matches the local IP (ie. you're connecting from the same computer), the
|
|
|
|
# connection is considered secure and plaintext authentication is allowed.
|
|
|
|
-#disable_plaintext_auth = yes
|
|
|
|
+#disable_plaintext_auth = no
|
|
|
|
|
|
|
|
# Should all IMAP and POP3 processes be killed when Dovecot master process
|
|
|
|
# shuts down. Setting this to "no" means that Dovecot can be upgraded without
|
2009-07-13 14:33:17 +00:00
|
|
|
@@ -96,8 +92,8 @@
|
2008-06-21 08:24:01 +00:00
|
|
|
# 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/pki/dovecot/certs/dovecot.pem
|
|
|
|
+#ssl_key_file = /etc/pki/dovecot/private/dovecot.pem
|
|
|
|
|
|
|
|
# If key file is password protected, give the password here. Alternatively
|
2008-12-02 14:23:37 +00:00
|
|
|
# give it when starting dovecot with -p parameter. Since this file is often
|
2009-07-13 14:33:17 +00:00
|
|
|
@@ -486,7 +482,7 @@
|
2008-06-21 08:24:01 +00:00
|
|
|
# locking methods as well. Some operating systems don't allow using some of
|
|
|
|
# them simultaneously.
|
|
|
|
#mbox_read_locks = fcntl
|
|
|
|
-#mbox_write_locks = dotlock fcntl
|
|
|
|
+#mbox_write_locks = fcntl
|
|
|
|
|
|
|
|
# Maximum time in seconds to wait for lock (all of them) before aborting.
|
|
|
|
#mbox_lock_timeout = 300
|
2009-07-13 14:33:17 +00:00
|
|
|
diff -up dovecot-1.2.1/src/master/master-settings.c.default-settings dovecot-1.2.1/src/master/master-settings.c
|
|
|
|
--- dovecot-1.2.1/src/master/master-settings.c.default-settings 2009-07-13 09:05:54.738890180 +0200
|
|
|
|
+++ dovecot-1.2.1/src/master/master-settings.c 2009-07-13 09:05:54.742889890 +0200
|
2008-12-02 14:23:37 +00:00
|
|
|
@@ -178,8 +178,8 @@ struct settings default_settings = {
|
2008-06-21 08:24:01 +00:00
|
|
|
MEMBER(syslog_facility) "mail",
|
|
|
|
|
|
|
|
/* general */
|
|
|
|
- MEMBER(protocols) "imap imaps",
|
|
|
|
- MEMBER(listen) "*",
|
|
|
|
+ MEMBER(protocols) "imap imaps pop3 pop3s",
|
2008-06-27 07:22:55 +00:00
|
|
|
+ MEMBER(listen) "*, [::]",
|
2008-06-21 08:24:01 +00:00
|
|
|
MEMBER(ssl_listen) "",
|
|
|
|
|
2009-03-30 14:35:23 +00:00
|
|
|
MEMBER(ssl) "yes",
|
2008-12-02 14:23:37 +00:00
|
|
|
@@ -191,7 +191,7 @@ struct settings default_settings = {
|
2008-06-21 08:24:01 +00:00
|
|
|
MEMBER(ssl_cipher_list) "",
|
|
|
|
MEMBER(ssl_cert_username_field) "commonName",
|
|
|
|
MEMBER(ssl_verify_client_cert) FALSE,
|
|
|
|
- MEMBER(disable_plaintext_auth) TRUE,
|
|
|
|
+ MEMBER(disable_plaintext_auth) FALSE,
|
|
|
|
MEMBER(verbose_ssl) FALSE,
|
|
|
|
MEMBER(shutdown_clients) TRUE,
|
|
|
|
MEMBER(nfs_check) TRUE,
|
2009-04-06 08:55:28 +00:00
|
|
|
@@ -255,7 +255,7 @@ struct settings default_settings = {
|
2008-06-21 08:24:01 +00:00
|
|
|
MEMBER(maildir_copy_preserve_filename) FALSE,
|
2009-04-06 08:55:28 +00:00
|
|
|
MEMBER(maildir_very_dirty_syncs) FALSE,
|
2008-06-21 08:24:01 +00:00
|
|
|
MEMBER(mbox_read_locks) "fcntl",
|
|
|
|
- MEMBER(mbox_write_locks) "dotlock fcntl",
|
|
|
|
+ MEMBER(mbox_write_locks) "fcntl",
|
|
|
|
MEMBER(mbox_lock_timeout) 300,
|
|
|
|
MEMBER(mbox_dotlock_change_timeout) 120,
|
|
|
|
MEMBER(mbox_min_index_size) 0,
|