From a34ed8ea8c57fa01fdb3dc5376ce54aa9bd59475 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Mon, 19 Jul 2021 23:41:24 +0200 Subject: [PATCH] To perform any further helo checks --- roles/shell/files/etc/postfix/main.cf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/shell/files/etc/postfix/main.cf b/roles/shell/files/etc/postfix/main.cf index 651312d..69779b9 100644 --- a/roles/shell/files/etc/postfix/main.cf +++ b/roles/shell/files/etc/postfix/main.cf @@ -50,6 +50,9 @@ smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname +# Enforce the requirement for a helo to be sent for each message +smtpd_helo_required = yes + # Don't accept mail from domains that don't exist. smtpd_sender_restrictions = reject_unknown_sender_domain