From: Vsevolod Stakhov Date: Tue, 24 Sep 2019 11:01:47 +0000 (+0100) Subject: [Test] Add tests for multi prefixes RBLs X-Git-Tag: 2.0~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df4d5ecaec79806ea0b517605eeb30f338ac52d0;p=rspamd.git [Test] Add tests for multi prefixes RBLs --- 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 {