Testsuite: fix testcase for SPF empty-mailfrom-use-helo. Bug 467
[exim.git] / test / scripts / 4600-SPF / 4600
index cb67d19ae21d1bc2e56bb4d8fea526f25c063189..55e2e0aff696beb8c673f170662387864230fa84 100644 (file)
@@ -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