summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-07-12 11:11:56 -0400
committerMicah <micah@leap.se>2016-07-19 10:44:11 -0400
commit68544ba2ffdfa988c060b3b4c5bd075f7304a022 (patch)
treea561534512853382a90d8dbdb7f045fdcf84f300
parent3e36abee5e0b2a4017da473fae97eff281989115 (diff)
Block MTAs that claim they are 'localhost'.
Nobody should be claiming that they are localhost when they are connecting over smtpd Change-Id: Ifb7df855b4e12021c58b89b2053e31fb10806096
-rw-r--r--puppet/modules/site_postfix/templates/checks/helo_access.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/templates/checks/helo_access.erb b/puppet/modules/site_postfix/templates/checks/helo_access.erb
index bac2c45a..e0708605 100644
--- a/puppet/modules/site_postfix/templates/checks/helo_access.erb
+++ b/puppet/modules/site_postfix/templates/checks/helo_access.erb
@@ -19,3 +19,5 @@
# Reject anybody that HELO's as being in our own domain(s)
# anyone who identifies themselves as us is a virus/spammer
<%= @domain %> 554 You are not in domain <%= @domain %>
+localhost 554 You are not localhost
+