summaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-12-07 21:47:51 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-12-07 21:47:51 +0300
commitd6a1a0f31fa4e8d72faef0f9536cc179b42c37a9 (patch)
treeffb6f553e33472d9b968317a8e3b03a429f80723 /test/functional/configs
parentcad261c52f9cc33144edc6c5e09b11c50c294421 (diff)
downloadrspamd-d6a1a0f31fa4e8d72faef0f9536cc179b42c37a9.tar.gz
rspamd-d6a1a0f31fa4e8d72faef0f9536cc179b42c37a9.zip
[Test] SPF for relay
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/dmarc.conf2
-rw-r--r--test/functional/configs/plugins.conf8
-rw-r--r--test/functional/configs/spf.conf1
3 files changed, 5 insertions, 6 deletions
diff --git a/test/functional/configs/dmarc.conf b/test/functional/configs/dmarc.conf
index 903e28a71..08a542c70 100644
--- a/test/functional/configs/dmarc.conf
+++ b/test/functional/configs/dmarc.conf
@@ -1,4 +1,4 @@
dmarc { }
spf {
- external_relay = 192.168.1.1
+ 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 2ac6e7a2c..098209788 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -219,14 +219,14 @@ options = {
replies = ["v=spf1 ip4:8.8.8.8 a -all"];
},
{
- name = "trusted.relay",
+ name = "trusted.com",
type = "txt";
- replies = ["v=spf1 -all"];
+ replies = ["v=spf1 ip4:192.168.1.1"];
},
{
- name = "external.client",
+ name = "external.com",
type = "txt";
- replies = ["v=spf1 ip4:37.98.67.26"];
+ replies = ["v=spf1 ip4:37.48.67.26"];
},
{
name = "co.za",
diff --git a/test/functional/configs/spf.conf b/test/functional/configs/spf.conf
deleted file mode 100644
index 37028b1a7..000000000
--- a/test/functional/configs/spf.conf
+++ /dev/null
@@ -1 +0,0 @@
-spf { }