mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-13 15:45:47 +02:00
[Test] uribl in mail address html+txt
This commit is contained in:
parent
03677971af
commit
b8f697f622
@ -60,7 +60,7 @@ SURBL Example.com domain image false
|
||||
Should Not Contain ${result.stdout} DBL_PHISH (
|
||||
Should Not Contain ${result.stdout} URIBL_BLACK (
|
||||
|
||||
SURBL @example.com mail
|
||||
SURBL @example.com mail html
|
||||
${result} = Scan Message With Rspamc ${TESTDIR}/messages/mailadr.eml
|
||||
Should Contain ${result.stdout} URIBL_IN_MAIL (
|
||||
Should Not Contain ${result.stdout} RSPAMD_URIBL
|
||||
@ -69,6 +69,15 @@ SURBL @example.com mail
|
||||
Should Not Contain ${result.stdout} DBL_PHISH (
|
||||
Should Not Contain ${result.stdout} URIBL_BLACK (
|
||||
|
||||
SURBL @example.com mail text
|
||||
${result} = Scan Message With Rspamc ${TESTDIR}/messages/mailadr2.eml
|
||||
Should Contain ${result.stdout} URIBL_IN_MAIL (
|
||||
Should Not Contain ${result.stdout} RSPAMD_URIBL
|
||||
Should Not Contain ${result.stdout} DBL_SPAM (
|
||||
Should Not Contain ${result.stdout} RSPAMD_URIBL (
|
||||
Should Not Contain ${result.stdout} DBL_PHISH (
|
||||
Should Not Contain ${result.stdout} URIBL_BLACK (
|
||||
|
||||
*** Keywords ***
|
||||
Surbl Setup
|
||||
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/surbl.conf
|
||||
|
4
test/functional/messages/mailadr2.eml
Normal file
4
test/functional/messages/mailadr2.eml
Normal file
@ -0,0 +1,4 @@
|
||||
Content-Type: text/plain
|
||||
|
||||
hello
|
||||
user@example.com
|
Loading…
Reference in New Issue
Block a user