summaryrefslogtreecommitdiff
path: root/public/fs/etc
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2024-04-23 13:16:55 +0000
committerroot@culturestrings <root@culturestrings>2024-04-23 13:16:55 +0000
commit3e61c61578aa2da896812bd15683ed7baa1fe262 (patch)
tree56c6d5a0a8e8e0c8c4e2f500ce9138c86fd9744d /public/fs/etc
parent8c9e75e079ca3fc68dc893e4146ae8bfe666fcea (diff)
downloadculturestrings-3e61c61578aa2da896812bd15683ed7baa1fe262.tar.bz2
culturestrings-3e61c61578aa2da896812bd15683ed7baa1fe262.tar.xz
postfix: spam rejection: added HELO/EHLO restrictions.
Diffstat (limited to 'public/fs/etc')
-rw-r--r--public/fs/etc/postfix/main.cf.in7
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