Skip to content
Snippets Groups Projects
Commit 9f0c9947 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

sec: add security-related Postfix options

parent ad9a6814
No related branches found
No related tags found
No related merge requests found
Pipeline #8546 passed
...@@ -16,4 +16,11 @@ ...@@ -16,4 +16,11 @@
smtpd_recipient_restrictions = smtpd_recipient_restrictions =
# smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination # DEFAULT according to `man 5 postconf` # smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination # DEFAULT according to `man 5 postconf`
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
relayhost = [{{ mail_server }}] # mail server
disable_vrfy_command = yes # security: disable VRFY replies
smtpd_tls_mandatory_protocols = TLSv1.3, !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.2 # security: only TLS 1.3
smtpd_tls_protocols = TLSv1.3, !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.2 # security: only TLS 1.3
smtp_tls_mandatory_protocols = TLSv1.3, !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.2 # security: only TLS 1.3
smtp_tls_protocols = TLSv1.3, !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.2 # security: only TLS 1.3
notify: restart postfix notify: restart postfix
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
- "cron_apt.vault" - "cron_apt.vault"
- "exim.vault" - "exim.vault"
- "groups.vault" - "groups.vault"
- "mail.vault"
- "repos.vault" - "repos.vault"
- "sudo.vault" - "sudo.vault"
- "syslog.vault" - "syslog.vault"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment