Blame SOURCES/dovecot-2.0-defaultconfig.patch

0bb4c4
diff -up dovecot-2.2.18/doc/example-config/conf.d/10-mail.conf.default-settings dovecot-2.2.18/doc/example-config/conf.d/10-mail.conf
0bb4c4
--- dovecot-2.2.18/doc/example-config/conf.d/10-mail.conf.default-settings	2014-06-02 13:50:10.000000000 +0200
0bb4c4
+++ dovecot-2.2.18/doc/example-config/conf.d/10-mail.conf	2015-08-24 17:09:03.866648631 +0200
ae961a
@@ -165,7 +165,7 @@ namespace inbox {
ae961a
 # to make sure that users can't log in as daemons or other system users.
ae961a
 # Note that denying root logins is hardcoded to dovecot binary and can't
ae961a
 # be done even if first_valid_uid is set to 0.
ae961a
-#first_valid_uid = 500
ae961a
+first_valid_uid = 1000
ae961a
 #last_valid_uid = 0
ae961a
 
ae961a
 # Valid GID range for users, defaults to non-root/wheel. Users having
0bb4c4
@@ -283,6 +283,7 @@ namespace inbox {
0bb4c4
 # them simultaneously.
0bb4c4
 #mbox_read_locks = fcntl
0bb4c4
 #mbox_write_locks = dotlock fcntl
0bb4c4
+mbox_write_locks = fcntl
0bb4c4
 
0bb4c4
 # Maximum time to wait for lock (all of them) before aborting.
0bb4c4
 #mbox_lock_timeout = 5 mins
0bb4c4
diff -up dovecot-2.2.18/doc/example-config/conf.d/10-ssl.conf.default-settings dovecot-2.2.18/doc/example-config/conf.d/10-ssl.conf
0bb4c4
--- dovecot-2.2.18/doc/example-config/conf.d/10-ssl.conf.default-settings	2014-10-03 16:36:00.000000000 +0200
0bb4c4
+++ dovecot-2.2.18/doc/example-config/conf.d/10-ssl.conf	2015-08-24 17:10:49.536071649 +0200
0bb4c4
@@ -3,7 +3,9 @@
0bb4c4
 ##
0bb4c4
 
0bb4c4
 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
0bb4c4
-#ssl = yes
0bb4c4
+# disable plain pop3 and imap, allowed are only pop3+TLS, pop3s, imap+TLS and imaps
0bb4c4
+# plain imap and pop3 are still allowed for local connections
0bb4c4
+ssl = required
0bb4c4
 
0bb4c4
 # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
0bb4c4
 # dropping root privileges, so keep the key file unreadable by anyone but
0bb4c4
@@ -50,6 +52,7 @@ ssl_key = 
0bb4c4
 
0bb4c4
 # SSL ciphers to use
0bb4c4
 #ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
0bb4c4
+ssl_cipher_list = PROFILE=SYSTEM
0bb4c4
 
0bb4c4
 # Prefer the server's order of ciphers over client's.
0bb4c4
 #ssl_prefer_server_ciphers = no