From 3bb1e9f161fd22707bc7cfcd77772422ac0fdd8e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 2 Feb 2021 21:30:56 +0000 Subject: Testsuite: fix testcase for SPF empty-mailfrom-use-helo. Bug 467 --- test/scripts/4600-SPF/4600 | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'test/scripts/4600-SPF') 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: 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: quit **** # +# helo name is overridden when a mailfrom is set +client HOSTIPV4 PORT_S +??? 220 +helo passme.helo.example.com +??? 250 +mail from: +??? 250 +rcpt to: +??? 550 +quit +**** +# killdaemon -- cgit v1.2.3