Blame SOURCES/dovecot-2.0-defaultconfig.patch

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