--- /dev/null
+*** Settings ***
+Suite Setup Generic Setup
+Suite Teardown Generic Teardown
+Library ${TESTDIR}/lib/rspamd.py
+Resource ${TESTDIR}/lib/rspamd.robot
+Variables ${TESTDIR}/lib/vars.py
+
+*** Variables ***
+${CONFIG} ${TESTDIR}/configs/maps.conf
+${MESSAGE} ${TESTDIR}/messages/spam_message.eml
+${RSPAMD_SCOPE} Suite
+
+*** Test Cases ***
+MAP - DNSBL HIT
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.2
+ Check Rspamc ${result} DNSBL_MAP
+
+MAP - DNSBL MISS
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1
+ Check Rspamc ${result} DNSBL_MAP inverse=1 rc_nocheck=1
\ No newline at end of file
--- /dev/null
+options = {
+ filters = ["spf", "dkim", "regexp"]
+ url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
+ pidfile = "${TMPDIR}/rspamd.pid"
+}
+logging = {
+ type = "file",
+ level = "debug"
+ filename = "${TMPDIR}/rspamd.log"
+}
+metric = {
+ name = "default",
+ actions = {
+ reject = 100500,
+ }
+ unknown_weight = 1
+}
+
+worker {
+ type = normal
+ bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
+ count = 1
+ keypair {
+ pubkey = "${KEY_PUB1}";
+ privkey = "${KEY_PVT1}";
+ }
+}
+modules {
+ path = "${TESTDIR}/../../src/plugins/lua/"
+}
+multimap {
+ DNSBL_MAP {
+ type = "dnsbl";
+ map = "rspamd.com";
+ }
+}