diff options
author | Andrew Lewis <nerf@judo.za.org> | 2020-10-02 13:44:22 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2020-10-02 13:44:22 +0200 |
commit | d25611191f37f7c66d5ea21641f58ff37e5948b5 (patch) | |
tree | 3a56e3d8476873dd39aa6c97cad20d3f11de37d5 /test/functional/configs | |
parent | b2d42ef071ad43773d68e9b9da3d3c1f741362a2 (diff) | |
download | rspamd-d25611191f37f7c66d5ea21641f58ff37e5948b5.tar.gz rspamd-d25611191f37f7c66d5ea21641f58ff37e5948b5.zip |
[Test] RBL: content URLs
Diffstat (limited to 'test/functional/configs')
-rw-r--r-- | test/functional/configs/plugins.conf | 15 | ||||
-rw-r--r-- | test/functional/configs/rbl.conf | 19 |
2 files changed, 33 insertions, 1 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf index b1885eeb6..35a2ce347 100644 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@ -710,6 +710,21 @@ options = { type = a; replies = ["127.0.0.2"]; }, + { + name = "example.com.test9.uribl"; + type = a; + replies = ["127.0.0.2"]; + }, + { + name = "example.org.test9.uribl"; + type = a; + replies = ["127.0.0.2"]; + }, + { + name = "8.8.8.8.test9.uribl"; + type = a; + replies = ["127.0.0.2"]; + }, # TODO: add IPv6 tests ]; } diff --git a/test/functional/configs/rbl.conf b/test/functional/configs/rbl.conf index 2318f5b81..2f8cea637 100644 --- a/test/functional/configs/rbl.conf +++ b/test/functional/configs/rbl.conf @@ -41,5 +41,22 @@ rbl { RSPAMD_EMAILBL = "127.0.0.2"; } } + URIBL_NOCONTENT { + rbl = "test9.uribl"; + ignore_defaults = true; + urls = true; + } + URIBL_WITHCONTENT { + rbl = "test9.uribl"; + ignore_defaults = true; + urls = true; + content_urls = true; + } + URIBL_CONTENTONLY { + rbl = "test9.uribl"; + ignore_defaults = true; + content_urls = true; + no_ip = true; + } } -}
\ No newline at end of file +} |