Blame SOURCES/dovecot-2.0-defaultconfig.patch

c83283
diff -up dovecot-2.3.0.1/doc/example-config/conf.d/10-mail.conf.default-settings dovecot-2.3.0.1/doc/example-config/conf.d/10-mail.conf
c83283
--- dovecot-2.3.0.1/doc/example-config/conf.d/10-mail.conf.default-settings	2018-02-28 15:28:57.000000000 +0100
c83283
+++ dovecot-2.3.0.1/doc/example-config/conf.d/10-mail.conf	2018-03-01 10:29:38.208368555 +0100
70765b
@@ -165,7 +165,7 @@ namespace inbox {
70765b
 # to make sure that users can't log in as daemons or other system users.
70765b
 # Note that denying root logins is hardcoded to dovecot binary and can't
70765b
 # be done even if first_valid_uid is set to 0.
70765b
-#first_valid_uid = 500
70765b
+first_valid_uid = 1000
70765b
 #last_valid_uid = 0
70765b
 
70765b
 # Valid GID range for users, defaults to non-root/wheel. Users having
c83283
@@ -322,6 +322,7 @@ protocol !indexer-worker {
70765b
 # them simultaneously.
70765b
 #mbox_read_locks = fcntl
70765b
 #mbox_write_locks = dotlock fcntl
70765b
+mbox_write_locks = fcntl
70765b
 
70765b
 # Maximum time to wait for lock (all of them) before aborting.
70765b
 #mbox_lock_timeout = 5 mins
c83283
diff -up dovecot-2.3.0.1/doc/example-config/conf.d/10-ssl.conf.default-settings dovecot-2.3.0.1/doc/example-config/conf.d/10-ssl.conf
c83283
--- dovecot-2.3.0.1/doc/example-config/conf.d/10-ssl.conf.default-settings	2018-02-28 15:28:57.000000000 +0100
c83283
+++ dovecot-2.3.0.1/doc/example-config/conf.d/10-ssl.conf	2018-03-01 10:33:54.779499044 +0100
70765b
@@ -3,7 +3,9 @@
70765b
 ##
70765b
 
70765b
 # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
70765b
-#ssl = yes
70765b
+# disable plain pop3 and imap, allowed are only pop3+TLS, pop3s, imap+TLS and imaps
70765b
+# plain imap and pop3 are still allowed for local connections
70765b
+ssl = required
70765b
 
70765b
 # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
70765b
 # dropping root privileges, so keep the key file unreadable by anyone but
c83283
@@ -57,6 +59,7 @@ ssl_key = 
c83283
 #ssl_cipher_list = ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
c83283
 # To disable non-EC DH, use:
c83283
 #ssl_cipher_list = ALL:!DH:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
70765b
+ssl_cipher_list = PROFILE=SYSTEM
70765b
 
c83283
 # Colon separated list of elliptic curves to use. Empty value (the default)
c83283
 # means use the defaults from the SSL library. P-521:P-384:P-256 would be an