aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-12-06 22:55:00 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-12-06 22:55:00 +0300
commit5eee09843993f42cb8de30116968ac175600976c (patch)
tree890804382eb2850331a9d780427978eb50fc1437 /test/functional/configs
parent0fd10b75e3343a5b7ee0c6bb7845710363808dfa (diff)
downloadrspamd-5eee09843993f42cb8de30116968ac175600976c.tar.gz
rspamd-5eee09843993f42cb8de30116968ac175600976c.zip
[Test] SPF PERMFAIL REDIRECT WITHOUT SPF
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/dmarc.conf4
-rw-r--r--test/functional/configs/plugins.conf10
2 files changed, 13 insertions, 1 deletions
diff --git a/test/functional/configs/dmarc.conf b/test/functional/configs/dmarc.conf
index 0d931b7d3..903e28a71 100644
--- a/test/functional/configs/dmarc.conf
+++ b/test/functional/configs/dmarc.conf
@@ -1,2 +1,4 @@
dmarc { }
-spf { }
+spf {
+ external_relay = 192.168.1.1
+} \ No newline at end of file
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index 851f280d9..2ac6e7a2c 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -219,6 +219,16 @@ options = {
replies = ["v=spf1 ip4:8.8.8.8 a -all"];
},
{
+ name = "trusted.relay",
+ type = "txt";
+ replies = ["v=spf1 -all"];
+ },
+ {
+ name = "external.client",
+ type = "txt";
+ replies = ["v=spf1 ip4:37.98.67.26"];
+ },
+ {
name = "co.za",
type = "txt";
rcode = 'norec';