${URL4} ${TESTDIR}/messages/url4.eml
${URL5} ${TESTDIR}/messages/url5.eml
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
+${FREEMAIL_CC} ${TESTDIR}/messages/freemailcc.eml
*** Test Cases ***
MAP - DNSBL HIT
Check Rspamc ${result} RCVD_AUTHED_TWO
Should Not Contain ${result.stdout} RCVD_AUTHED_ONE
+FREEMAIL_CC
+ ${result} = Scan Message With Rspamc ${FREEMAIL_CC}
+ Check Rspamc ${result} FREEMAIL_CC (19.00)[test.com, test1.com, test2.com, test3.com, test4.com, test5.com, test6.com, test7.com, test8.com, test9.com, test10.com, test11.com, test12.com, test13.com, test14.com]
+
*** Keywords ***
Multimap Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/multimap.conf
rspamd-test.com
+test.com
+test2.com
+test3.com
+test4.com
+test5.com
+test6.com
+test7.com
+test8.com
+test9.com
+test10.com
+test11.com
+test12.com
+test13.com
+test14.com
#other.com
filter = "email:domain";
map = "${TESTDIR}/configs/maps/domains.list";
}
+ FREEMAIL_CC {
+ type = "header";
+ header = "Cc";
+ filter = "email:domain";
+ map = "${TESTDIR}/configs/maps/domains.list.2";
+ }
REGEXP_MAP {
type = "from";
filter = "email:addr";
--- /dev/null
+Content-Type: multipart/mixed; boundary="===============3209040583106423479=="\r
+MIME-Version: 1.0\r
+From: test@example.org\r
+To: test@example.org\r
+CC: <testp@test.com>, <testp1@test1.com>, <testp2@test2.com>,<testp3@test3.com>,<testp4@test4.com>,<testp5@test5.com>,<testp6@test6.com>,<testp7@test7.com>,<testp8@test8.com>,<testp9@test9.com>,<testp10@test10.com>,<testp11@test11.com>,<testp12@test12.com>,<testp13@test13.com>,<testp14@test14.com>,<testp15@test.com>,<testp16@test.com>,<testp17@test.com>,<testp18@test.com>,<test19@test.com>\r
+Date: Thu, 26 Sep 2019 15:52:32 -0000\r
+Subject: Test message\r
+Message-ID: <156951315267.43830.14912869070271436609@example.org>\r
+\r
+skdjaskdjasd
\ No newline at end of file