summaryrefslogtreecommitdiff
path: root/test/scripts/4600-SPF
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/4600-SPF')
-rw-r--r--test/scripts/4600-SPF/460021
1 files changed, 19 insertions, 2 deletions
diff --git a/test/scripts/4600-SPF/4600 b/test/scripts/4600-SPF/4600
index cb67d19ae..55e2e0aff 100644
--- a/test/scripts/4600-SPF/4600
+++ b/test/scripts/4600-SPF/4600
@@ -60,9 +60,14 @@ rcpt to:<fred@test.ex>
quit
****
#
-client 127.0.0.1 PORT_S
+#
+#
+#
+#
+# helo name gets used when mailfrom is null
+client HOSTIPV4 PORT_S
??? 220
-helo example.com
+helo passme.helo.example.com
??? 250
mail from:<>
??? 250
@@ -71,4 +76,16 @@ rcpt to:<fred@test.ex>
quit
****
#
+# helo name is overridden when a mailfrom is set
+client HOSTIPV4 PORT_S
+??? 220
+helo passme.helo.example.com
+??? 250
+mail from:<failme@example.com>
+??? 250
+rcpt to:<fred@test.ex>
+??? 550
+quit
+****
+#
killdaemon