From 7dd5f320380a95e5ce8b21fe27559d1c6625aa33 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Wed, 15 Sep 2021 10:56:18 +0800 Subject: [PATCH] Draft: upgrade.iredmail.1.4.2-1.4.3.html. --- .../upgrade/0-upgrade.iredmail.1.4.2-1.4.3.md | 81 +++++++++++++ html/upgrade.iredmail.1.4.2-1.4.3.html | 108 ++++++++++++++++++ 2 files changed, 189 insertions(+) create mode 100644 en_US/upgrade/0-upgrade.iredmail.1.4.2-1.4.3.md create mode 100644 html/upgrade.iredmail.1.4.2-1.4.3.html diff --git a/en_US/upgrade/0-upgrade.iredmail.1.4.2-1.4.3.md b/en_US/upgrade/0-upgrade.iredmail.1.4.2-1.4.3.md new file mode 100644 index 00000000..a1cd36e8 --- /dev/null +++ b/en_US/upgrade/0-upgrade.iredmail.1.4.2-1.4.3.md @@ -0,0 +1,81 @@ +# Upgrade iRedMail from 1.4.2 to 1.4.3 + +[TOC] + +!!! warning + + This IS A DRAFT DOCUMENT, DO NOT APPLY IT. + +!!! note "Paid Remote Upgrade Support" + + We offer remote upgrade support if you don't want to get your hands dirty, + check [the details](https://www.iredmail.org/support.html) and + [contact us](https://www.iredmail.org/contact.html). + +## ChangeLog + +## General (All backends should apply these changes) + +### Update `/etc/iredmail-release` with new iRedMail version number + +iRedMail stores the release version in `/etc/iredmail-release` after +installation, it's recommended to update this file after you upgraded iRedMail, +so that you can know which version of iRedMail you're running. For example: + +``` +1.4.3 +``` + +### Nginx: several improvements + +!!! attention + + All credit goes to GitHub user + [@ludovicandrieux](https://github.com/ludovicandrieux), thanks for the + contributions. See also: + [#136](https://github.com/iredmail/iRedMail/issues/136), + [#137](https://github.com/iredmail/iRedMail/issues/137), + [#138](https://github.com/iredmail/iRedMail/issues/138). + +- Enable TLSv1.3. WARNING: It requires Nginx 1.13 or later releases, which is + available on: + - CentOS 7 and later + - Debian 10 and later + - FreeBSD + - OpenBSD +- Greatly improve the performance of http keep-alive connections over SSL by + enabling `ssl_session_cache` parameter. +- Add new ssl cipher: `EECDH+CHACHA20`. It requires openssl 1.1.0, which is + available on: + - CentOS 7 and later + - Debian 9 and later + - FreeBSD + - OpenBSD +- Remove weak ssl cipher: `AES256+EDH`. + +To apply these changes, please open file `/etc/nginx/templates/ssl.tmpl` with +your favourite text editor, then: + +- Append `TLSv1.3` in parameter `ssl_protocols`. For example: + +``` +ssl_protocols TLSv1.2 TLSv1.3; +``` + +- Prepend `EECDH+CHACHA20` in parameter `ssl_ciphers`, also remove `AES256+EDH`. + For example: + +``` +ssl_ciphers EECDH+CHACHA20:EECDH+AESGCM:EDH+AESGCM:AES256+EECDH; +``` + +- Add new parameter `ssl_session_cache` and optional comment lines: + +``` +# Greatly improve the performance of keep-alive connections over SSL. +# With this enabled, client is not necessary to do a full SSL-handshake for +# every request, thus saving time and cpu-resources. +ssl_session_cache shared:SSL:10m; +``` + +Restarting Nginx service is required. diff --git a/html/upgrade.iredmail.1.4.2-1.4.3.html b/html/upgrade.iredmail.1.4.2-1.4.3.html new file mode 100644 index 00000000..7e4230e8 --- /dev/null +++ b/html/upgrade.iredmail.1.4.2-1.4.3.html @@ -0,0 +1,108 @@ + + + + + Upgrade iRedMail from 1.4.2 to 1.4.3 + + + + +

Upgrade iRedMail from 1.4.2 to 1.4.3

+
+ +
+
+

Warning

+

This IS A DRAFT DOCUMENT, DO NOT APPLY IT.

+
+
+

Paid Remote Upgrade Support

+

We offer remote upgrade support if you don't want to get your hands dirty, +check the details and +contact us.

+
+

ChangeLog

+

General (All backends should apply these changes)

+

Update /etc/iredmail-release with new iRedMail version number

+

iRedMail stores the release version in /etc/iredmail-release after +installation, it's recommended to update this file after you upgraded iRedMail, +so that you can know which version of iRedMail you're running. For example:

+
1.4.3
+
+ +

Nginx: several improvements

+
+

Attention

+

All credit goes to GitHub user +@ludovicandrieux, thanks for the +contributions. See also: +#136, +#137, +#138.

+
+ +

To apply these changes, please open file /etc/nginx/templates/ssl.tmpl with +your favourite text editor, then:

+ +
ssl_protocols TLSv1.2 TLSv1.3;
+
+ + +
ssl_ciphers EECDH+CHACHA20:EECDH+AESGCM:EDH+AESGCM:AES256+EECDH;
+
+ + +
# Greatly improve the performance of keep-alive connections over SSL.
+# With this enabled, client is not necessary to do a full SSL-handshake for
+# every request, thus saving time and cpu-resources.
+ssl_session_cache shared:SSL:10m;
+
+ +

Restarting Nginx service is required.

\ No newline at end of file