diff options
Diffstat (limited to 'test/functional/cases/280_rules.robot')
-rw-r--r-- | test/functional/cases/280_rules.robot | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/functional/cases/280_rules.robot b/test/functional/cases/280_rules.robot index 18e3f3850..b62ed89bc 100644 --- a/test/functional/cases/280_rules.robot +++ b/test/functional/cases/280_rules.robot @@ -84,6 +84,27 @@ FROM_NEQ_ENVFROM ${result} = Scan Message With Rspamc ${MESSAGE8} --from test@test.net Check Rspamc ${result} FROM_NEQ_ENVFROM +PHISH_SENDER_A + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender.eml + Should Contain ${result.stdout} MULTIPLE_FROM (9.00)[any@attack.com,admin@legitimate.com] + Should Contain ${result.stdout} MULTIPLE_UNIQUE_HEADERS (7.00)[From] + +PHISH_SENDER_B + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender2.eml + Should Contain ${result.stdout} SOMETHING + +PHISH_SENDER_C + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender3.eml + Should Contain ${result.stdout} SOMETHING + +PHISH_SENDER_D + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender4.eml + Should Contain ${result.stdout} SOMETHING + +PHISH_SENDER_E + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender5.eml + Should Contain ${result.stdout} SOMETHING + *** Keywords *** Rules Setup |