diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-23 15:11:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-23 15:11:27 +0100 |
commit | bb1eae8f68f81e5c9723748d76e847fac688f8db (patch) | |
tree | 54225141fbf0ce88f197e4a3b1fa350e2ae34adc /test/functional | |
parent | a5d48398dd407ee981d58ea037cbbd685e250de8 (diff) | |
download | rspamd-bb1eae8f68f81e5c9723748d76e847fac688f8db.tar.gz rspamd-bb1eae8f68f81e5c9723748d76e847fac688f8db.zip |
[Test] Fix emailbl tests
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/configs/surbl.conf | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/test/functional/configs/surbl.conf b/test/functional/configs/surbl.conf index 823aec25c..5c244e257 100644 --- a/test/functional/configs/surbl.conf +++ b/test/functional/configs/surbl.conf @@ -64,21 +64,24 @@ EOD; end EOD; } + + } +} + +emails { + "whitelist" = [ + "rspamd-test.com" + ] + rules { "RSPAMD_EMAILBL_FULL" { - suffix = "test5.uribl"; - check_emails = true; - emails_domainonly = false; - urls = false; - replyto = true; - images = false; + dnsbl = "test5.uribl"; + domain_only = false; + replyto = true; + } + "RSPAMD_EMAILBL_DOMAINONLY" { + dnsbl = "test6.uribl"; + domain_only = true; + replyto = true; } - "RSPAMD_EMAILBL_DOMAINONLY" { - suffix = "test6.uribl"; - check_emails = true; - emails_domainonly = true; - urls = false; - replyto = true; - images = false; - } } }
\ No newline at end of file |