diff options
author | korgoth1 <vladislav.stakhov@gmail.com> | 2019-12-29 17:41:29 +0300 |
---|---|---|
committer | korgoth1 <vladislav.stakhov@gmail.com> | 2019-12-29 17:41:29 +0300 |
commit | 5058771790f18b38c19a8f20fcd54a431b816419 (patch) | |
tree | 18af9d40d8b0b7c5d107e98be78abff53800d6dc /test/functional | |
parent | 7fa1ebd8d67ced215bf33852d4338e148460608a (diff) | |
download | rspamd-5058771790f18b38c19a8f20fcd54a431b816419.tar.gz rspamd-5058771790f18b38c19a8f20fcd54a431b816419.zip |
[Test] SPF uppercase elements
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/cases/117_spf.robot | 5 | ||||
-rw-r--r-- | test/functional/configs/plugins.conf | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/cases/117_spf.robot b/test/functional/cases/117_spf.robot index 59f2667cd..08733471b 100644 --- a/test/functional/cases/117_spf.robot +++ b/test/functional/cases/117_spf.robot @@ -131,6 +131,11 @@ SPF EXTERNAL RELAY ${result} = Scan Message With Rspamc ${TESTDIR}/messages/external_relay.eml Should contain ${result.stdout} R_SPF_ALLOW (1.00)[+ip4:37.48.67.26] +SPF UPPERCASE + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@fail11.org.org.za + Check Rspamc ${result} R_SPF_ALLOW + *** Keywords *** SPF Setup ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/dmarc.conf diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf index b55f3a35c..025f6c55f 100644 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@ -209,6 +209,11 @@ options = { replies = ["v=spf1 redirect=fail5.org.org.za"]; }, { + name = "fail11.org.org.za", + type = "txt"; + replies = ["v=sPF1 ip4:8.8.8.8 -all"]; + }, + { name = "fail5.org.org.za", type = "txt"; replies = ["v=spf1 OMGBARF"]; |