Blame SOURCES/dovecot-2.0-defaultconfig.patch

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