email: postfix: dovecot: Set strong security parameters

Other changes:
- Fix linter error
- Postfix port 25: do not trust localhost IP addresses
This commit is contained in:
fliu authored and Sunil Mohan Adapa committed 2021-08-17 19:44:11 -07:00
1 parent b172b0b1cd
commit 9a98ddadd4
6 files changed
+123 -3

No files matched your search

@@ -0,0 +1,12 @@
# Direct edits to this file will be lost!
# Manage your settings on Plinth <https://localhost/plinth/apps/email_server>
# Mozilla Guideline v5.6, Dovecot 2.3.9, OpenSSL 1.1.1d, intermediate
# Generated 2021-08
# https://ssl-config.mozilla.org/
ssl = required
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = no
ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384