diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-16 17:10:50 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-16 17:10:50 +0000 |
commit | 3f83c2f80c545daeb858801cbef6ad7c5a9c5198 (patch) | |
tree | 2e1afd9053a786536b528e005af6251bf352b95f /test/functional/cases/300_rbl.robot | |
parent | 5dcf4d6ebd8e87de3e58876daed89c90303d25fc (diff) | |
download | rspamd-3f83c2f80c545daeb858801cbef6ad7c5a9c5198.tar.gz rspamd-3f83c2f80c545daeb858801cbef6ad7c5a9c5198.zip |
[Test] Rbl: Add received and whitelists tests
Diffstat (limited to 'test/functional/cases/300_rbl.robot')
-rw-r--r-- | test/functional/cases/300_rbl.robot | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/cases/300_rbl.robot b/test/functional/cases/300_rbl.robot index 36d13c045..8ac96915e 100644 --- a/test/functional/cases/300_rbl.robot +++ b/test/functional/cases/300_rbl.robot @@ -28,6 +28,14 @@ RBL FROM UNKNOWN HIT ${result} = Scan Message With Rspamc ${MESSAGE} -i 4.3.2.2 Check Rspamc ${result} FAKE_RBL_UNKNOWN +RBL RECEIVED HIT + ${result} = Scan Message With Rspamc ${MESSAGE} -i 8.8.8.8 + Check Rspamc ${result} FAKE_RECEIVED_RBL_CODE_3 + +RBL FROM HIT WL + ${result} = Scan Message With Rspamc ${MESSAGE} -i 4.3.2.4 + Check Rspamc ${result} FAKE_RBL_CODE_2 inverse=True + *** Keywords *** Rbl Setup ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/rbl.conf |