diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-02-02 21:30:56 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-02-02 21:30:56 +0000 |
commit | 3bb1e9f161fd22707bc7cfcd77772422ac0fdd8e (patch) | |
tree | dcc908974c276cb4dd2afe41e5387c1c572e7f1b /test/scripts/4600-SPF | |
parent | 0f773e4df59a9d35929d5839f89c15487a1dd0be (diff) |
Testsuite: fix testcase for SPF empty-mailfrom-use-helo. Bug 467
Diffstat (limited to 'test/scripts/4600-SPF')
-rw-r--r-- | test/scripts/4600-SPF/4600 | 21 |
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 |