diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-24 12:01:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-24 12:01:47 +0100 |
commit | df4d5ecaec79806ea0b517605eeb30f338ac52d0 (patch) | |
tree | 945cacc63c2ebd391a562c5c3c22fdb54f7687de /test | |
parent | 158fa72032f07e405f95e892240bc8f06fc541ae (diff) | |
download | rspamd-df4d5ecaec79806ea0b517605eeb30f338ac52d0.tar.gz rspamd-df4d5ecaec79806ea0b517605eeb30f338ac52d0.zip |
[Test] Add tests for multi prefixes RBLs
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/configs/rbl.conf | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/test/functional/configs/rbl.conf b/test/functional/configs/rbl.conf index a66deea6a..4a9318a0a 100644 --- a/test/functional/configs/rbl.conf +++ b/test/functional/configs/rbl.conf @@ -6,23 +6,15 @@ rbl { ipv6 = true; rbl = "fake.rbl"; symbol = "FAKE_RBL_UNKNOWN"; - unknown = true; - returncodes = { - "FAKE_RBL_CODE_2" = "127.0.0.2"; - "FAKE_RBL_CODE_3" = "127.0.0.3"; - } - } - fake_received { - from = false; - ipv4 = true; - ipv6 = true; received = true; - rbl = "fake.rbl"; - symbol = "FAKE_RECEIVED_RBL_UNKNOWN"; + symbols_prefixes = { + received = 'FAKE_RECEIVED_RBL', + from = 'FAKE_RBL', + } unknown = true; returncodes = { - "FAKE_RECEIVED_RBL_CODE_2" = "127.0.0.2"; - "FAKE_RECEIVED_RBL_CODE_3" = "127.0.0.3"; + "CODE_2" = "127.0.0.2"; + "CODE_3" = "127.0.0.3"; } } fake_whitelist { |