diff options
author | root@culturestrings <root@culturestrings> | 2024-04-23 13:16:55 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2024-04-23 13:16:55 +0000 |
commit | 3e61c61578aa2da896812bd15683ed7baa1fe262 (patch) | |
tree | 56c6d5a0a8e8e0c8c4e2f500ce9138c86fd9744d /public/fs | |
parent | 8c9e75e079ca3fc68dc893e4146ae8bfe666fcea (diff) | |
download | culturestrings-3e61c61578aa2da896812bd15683ed7baa1fe262.tar.bz2 culturestrings-3e61c61578aa2da896812bd15683ed7baa1fe262.tar.xz |
postfix: spam rejection: added HELO/EHLO restrictions.
Diffstat (limited to 'public/fs')
-rw-r--r-- | public/fs/etc/postfix/main.cf.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/fs/etc/postfix/main.cf.in b/public/fs/etc/postfix/main.cf.in index 6163967..60cf63d 100644 --- a/public/fs/etc/postfix/main.cf.in +++ b/public/fs/etc/postfix/main.cf.in @@ -65,6 +65,13 @@ smtpd_tls_CAfile = /etc/easy-rsa/pki/ca.crt smtpd_relay_restrictions = permit_mynetworks, permit_tls_all_clientcerts, reject_unauth_destination smtpd_recipient_restrictions = permit_mynetworks, permit_tls_all_clientcerts, reject_unauth_destination +smtpd_helo_required = yes +smtpd_helo_restrictions = permit_mynetworks, + permit_tls_all_clientcerts, + reject_invalid_helo_hostname, + reject_unknown_helo_hostname, + reject_non_fqdn_helo_hostname + meta_directory = /usr/lib/postfix setgid_group = maildrop newaliases_path = /usr/bin/newaliases |