2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/man/doveconf.1.in
|
2017-12-24 03:20:56 +01:00
|
|
|
===================================================================
|
2021-12-16 09:56:12 +01:00
|
|
|
--- dovecot-2.3.17.1.orig/doc/man/doveconf.1.in
|
|
|
|
+++ dovecot-2.3.17.1/doc/man/doveconf.1.in
|
|
|
|
@@ -136,7 +136,7 @@ Show passwords and other sensitive value
|
2017-12-24 03:20:56 +01:00
|
|
|
.TP
|
|
|
|
.B \-x
|
|
|
|
Expand configuration variables (e.g. \(Domail_plugins \(rA quota) and show
|
|
|
|
-file contents (from e.g. ssl_cert = </etc/ssl/certs/dovecot.pem).
|
|
|
|
+file contents (from e.g. ssl_cert = </etc/ssl/private/dovecot.crt).
|
|
|
|
.\"---------------------------------
|
|
|
|
.TP
|
|
|
|
.I section_name
|
2021-12-16 09:56:12 +01:00
|
|
|
@@ -217,4 +217,4 @@ dict/quota = pgsql:@pkgsysconfdir@/dovec
|
2017-12-24 03:20:56 +01:00
|
|
|
.BR doveadm (1),
|
|
|
|
.BR dovecot (1),
|
|
|
|
.BR dovecot\-lda (1),
|
|
|
|
-.BR dsync (1)
|
|
|
|
\ No newline at end of file
|
|
|
|
+.BR dsync (1)
|
2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/mkcert.sh
|
2017-12-24 03:20:56 +01:00
|
|
|
===================================================================
|
2021-12-16 09:56:12 +01:00
|
|
|
--- dovecot-2.3.17.1.orig/doc/mkcert.sh
|
|
|
|
+++ dovecot-2.3.17.1/doc/mkcert.sh
|
2020-02-26 14:41:24 +01:00
|
|
|
@@ -8,14 +8,14 @@ OPENSSL=${OPENSSL-openssl}
|
2017-12-24 03:20:56 +01:00
|
|
|
SSLDIR=${SSLDIR-/etc/ssl}
|
|
|
|
OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
|
|
|
|
|
|
|
|
-CERTDIR=$SSLDIR/certs
|
|
|
|
+CERTDIR=$SSLDIR/private
|
|
|
|
KEYDIR=$SSLDIR/private
|
|
|
|
|
|
|
|
-CERTFILE=$CERTDIR/dovecot.pem
|
|
|
|
+CERTFILE=$CERTDIR/dovecot.crt
|
|
|
|
KEYFILE=$KEYDIR/dovecot.pem
|
|
|
|
|
|
|
|
if [ ! -d $CERTDIR ]; then
|
2020-02-26 14:41:24 +01:00
|
|
|
- echo "$SSLDIR/certs directory doesn't exist"
|
|
|
|
+ echo "$CERTDIR directory doesn't exist"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/wiki/CompilingSource.txt
|
2017-12-24 03:20:56 +01:00
|
|
|
===================================================================
|
2021-12-16 09:56:12 +01:00
|
|
|
--- dovecot-2.3.17.1.orig/doc/wiki/CompilingSource.txt
|
|
|
|
+++ dovecot-2.3.17.1/doc/wiki/CompilingSource.txt
|
2017-12-24 03:20:56 +01:00
|
|
|
@@ -142,7 +142,7 @@ non-standard path. Make sure you have th
|
|
|
|
installed, and if it is not in the standard location, set 'CPPFLAGS' and
|
|
|
|
'LDFLAGS' as shown in <the first section above.> [CompilingSource.txt]
|
|
|
|
|
|
|
|
-By default the SSL certificate is read from '/etc/ssl/certs/dovecot.pem' and
|
|
|
|
+By default the SSL certificate is read from '/etc/ssl/private/dovecot.crt' and
|
|
|
|
the private key from '/etc/ssl/private/dovecot.pem'. The '/etc/ssl' directory
|
|
|
|
can be changed using the '--with-ssldir=DIR' configure option. Both can of
|
|
|
|
course be overridden from the configuration file.
|
2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/wiki/SSL.CertificateCreation.txt
|
2017-12-24 03:20:56 +01:00
|
|
|
===================================================================
|
2021-12-16 09:56:12 +01:00
|
|
|
--- dovecot-2.3.17.1.orig/doc/wiki/SSL.CertificateCreation.txt
|
|
|
|
+++ dovecot-2.3.17.1/doc/wiki/SSL.CertificateCreation.txt
|
2017-12-24 03:20:56 +01:00
|
|
|
@@ -39,7 +39,7 @@ CN matches the connected host name, othe
|
|
|
|
invalid. It's also possible to use wildcards (eg. *.domain.com) in the host
|
|
|
|
name. They should work with most clients.
|
|
|
|
|
|
|
|
-By default the certificate is created to '/etc/ssl/certs/dovecot.pem' and the
|
|
|
|
+By default the certificate is created to '/etc/ssl/private/dovecot.crt' and the
|
|
|
|
private key file is created to '/etc/ssl/private/dovecot.pem'. Also by default
|
|
|
|
the certificate will expire in 365 days. If you wish to change any of these,
|
|
|
|
modify the mkcert.sh script.
|
2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/wiki/SSL.DovecotConfiguration.txt
|
2017-12-24 03:20:56 +01:00
|
|
|
===================================================================
|
2021-12-16 09:56:12 +01:00
|
|
|
--- dovecot-2.3.17.1.orig/doc/wiki/SSL.DovecotConfiguration.txt
|
|
|
|
+++ dovecot-2.3.17.1/doc/wiki/SSL.DovecotConfiguration.txt
|
2019-08-28 19:07:06 +02:00
|
|
|
@@ -41,7 +41,7 @@ The most important SSL settings are (in
|
2017-12-24 03:20:56 +01:00
|
|
|
---%<-------------------------------------------------------------------------
|
|
|
|
ssl = yes
|
|
|
|
# Preferred permissions: root:root 0444
|
|
|
|
-ssl_cert = </etc/ssl/certs/dovecot.pem
|
|
|
|
+ssl_cert = </etc/ssl/private/dovecot.crt
|
|
|
|
# Preferred permissions: root:root 0400
|
|
|
|
ssl_key = </etc/ssl/private/dovecot.pem
|
|
|
|
---%<-------------------------------------------------------------------------
|
2019-08-28 19:07:06 +02:00
|
|
|
@@ -73,11 +73,11 @@ override the global setting.:
|
2017-12-24 03:20:56 +01:00
|
|
|
|
|
|
|
---%<-------------------------------------------------------------------------
|
|
|
|
protocol imap {
|
|
|
|
- ssl_cert = </etc/ssl/certs/imap.pem
|
|
|
|
+ ssl_cert = </etc/ssl/private/imap.crt
|
|
|
|
ssl_key = </etc/ssl/private/imap.pem
|
|
|
|
}
|
|
|
|
protocol pop3 {
|
|
|
|
- ssl_cert = </etc/ssl/certs/pop3.pem
|
|
|
|
+ ssl_cert = </etc/ssl/private/pop3.crt
|
|
|
|
ssl_key = </etc/ssl/private/pop3.pem
|
|
|
|
}
|
|
|
|
---%<-------------------------------------------------------------------------
|
2019-08-28 19:07:06 +02:00
|
|
|
@@ -194,11 +194,11 @@ support SNI.
|
2017-12-24 03:20:56 +01:00
|
|
|
|
|
|
|
---%<-------------------------------------------------------------------------
|
|
|
|
local_name imap.example.org {
|
|
|
|
- ssl_cert = </etc/ssl/certs/imap.example.org.crt
|
|
|
|
+ ssl_cert = </etc/ssl/private/imap.example.org.crt
|
|
|
|
ssl_key = </etc/ssl/private/imap.example.org.key
|
|
|
|
}
|
|
|
|
local_name imap.example2.org {
|
|
|
|
- ssl_cert = </etc/ssl/certs/imap.example2.org.crt
|
|
|
|
+ ssl_cert = </etc/ssl/private/imap.example2.org.crt
|
|
|
|
ssl_key = </etc/ssl/private/imap.example2.org.key
|
|
|
|
}
|
|
|
|
# ..etc..
|
2021-12-16 09:56:12 +01:00
|
|
|
Index: dovecot-2.3.17.1/doc/example-config/conf.d/10-ssl.conf
|
|
|
|
===================================================================
|
|
|
|
--- dovecot-2.3.17.1.orig/doc/example-config/conf.d/10-ssl.conf
|
|
|
|
+++ dovecot-2.3.17.1/doc/example-config/conf.d/10-ssl.conf
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
# 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 = </etc/ssl/certs/dovecot.pem
|
2022-02-03 13:40:28 +01:00
|
|
|
+ssl_cert = </etc/ssl/private/dovecot.crt
|
2021-12-16 09:56:12 +01:00
|
|
|
ssl_key = </etc/ssl/private/dovecot.pem
|
|
|
|
|
|
|
|
# If key file is password protected, give the password here. Alternatively
|