EMAILBL Compose Map 1
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url14.eml
- Should Contain ${result.stdout} RSPAMD_EMAILBL (0.00)[user.dirty.sanchez.com:email]
+ Should Contain ${result.stdout} RSPAMD_EMAILBL (0.00)[dirty.sanchez.com:email]
EMAILBL Compose Map 2
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url15.eml
- Should Contain ${result.stdout} RSPAMD_EMAILBL (0.00)[4.very.dirty.sanchez.com:email]
+ Should Contain ${result.stdout} RSPAMD_EMAILBL (0.00)[very.dirty.sanchez.com:email]
EMAILBL Compose Map 3
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url16.eml
Should Contain ${result.stdout} RSPAMD_EMAILBL (0.00)[41.black.sanchez.com:email]
-
+
*** Keywords ***
Rbl Setup
replies = ["127.0.0.2"];
},
{
- name = "user.dirty.sanchez.com.test8.uribl";
+ name = "dirty.sanchez.com.test8.uribl";
type = a;
replies = ["127.0.0.2"];
},
{
- name = "admin.dirty.sanchez.com.test8.uribl";
- type = a;
- replies = ["127.0.0.2"];
- },
- {
- name = "4.very.dirty.sanchez.com.test8.uribl";
+ name = "very.dirty.sanchez.com.test8.uribl";
type = a;
replies = ["127.0.0.2"];
},
rbl = "test8.uribl";
url_compose_map = "${TESTDIR}/configs/maps/url_compose_map_for_mails.list";
emails = true;
- emails_delimiter = ".";
+ emails_domainonly = true
returncodes = {
RSPAMD_EMAILBL = "127.0.0.2";
}
Content-Type: text/plain
user@dirty.sanchez.com
-admin@dirty.sanchez.com
\ No newline at end of file
+user@admin.dirty.sanchez.com
\ No newline at end of file
Content-Type: text/plain
-4@very.dirty.sanchez.com
-admin@dirty.sanchez.com
\ No newline at end of file
+4@very.dirty.sanchez.com
\ No newline at end of file
Content-Type: text/plain
-41@black.sanchez.com
-black@sanchez.com
\ No newline at end of file
+test@admin.dirty.sanchez.com
+admin@41.black.sanchez.com
+admin@black.sanchez.com
\ No newline at end of file