Improve security and standard compliance
This commit is contained in:
parent
78f0541c98
commit
de9afb8a5f
1 changed files with 1 additions and 2 deletions
|
|
@ -89,13 +89,11 @@ virtual_mailbox_domains = {{ postfix.virtual_mailbox_domains|join(' ') }}
|
||||||
# TODO: This is already enabled when using dovecot as transport
|
# TODO: This is already enabled when using dovecot as transport
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
broken_sasl_auth_clients = yes
|
|
||||||
|
|
||||||
# Restrictions
|
# Restrictions
|
||||||
smtpd_helo_required = yes
|
smtpd_helo_required = yes
|
||||||
strict_rfc821_envelopes = yes
|
strict_rfc821_envelopes = yes
|
||||||
disable_vrfy_command = yes
|
disable_vrfy_command = yes
|
||||||
smtpd_delay_reject = yes
|
|
||||||
|
|
||||||
smtpd_helo_restrictions = permit_mynetworks,
|
smtpd_helo_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
|
|
@ -106,6 +104,7 @@ smtpd_helo_restrictions = permit_mynetworks,
|
||||||
# TODO: This is already enabled when using dovecot as transport
|
# TODO: This is already enabled when using dovecot as transport
|
||||||
smtpd_sender_restrictions = reject_non_fqdn_sender,
|
smtpd_sender_restrictions = reject_non_fqdn_sender,
|
||||||
reject_unknown_sender_domain,
|
reject_unknown_sender_domain,
|
||||||
|
reject_sender_login_mismatch,
|
||||||
permit_mynetworks,
|
permit_mynetworks,
|
||||||
permit_sasl_authenticated
|
permit_sasl_authenticated
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue