diff options
author | korgoth1 <vladislav.stakhov@gmail.com> | 2020-08-06 17:50:41 +0300 |
---|---|---|
committer | korgoth1 <vladislav.stakhov@gmail.com> | 2020-08-06 17:50:41 +0300 |
commit | 4fa9b568d15933a5e5c676d9483313d3c2fa18b6 (patch) | |
tree | d47e0565db337768269d83b10157edcab6356966 /test | |
parent | 055e6ee157645daf7454b658c6226280c8613cb0 (diff) | |
download | rspamd-4fa9b568d15933a5e5c676d9483313d3c2fa18b6.tar.gz rspamd-4fa9b568d15933a5e5c676d9483313d3c2fa18b6.zip |
[TEST] PHISH Senders
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/280_rules.robot | 3 | ||||
-rw-r--r-- | test/functional/messages/phish_sender6.eml | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/functional/cases/280_rules.robot b/test/functional/cases/280_rules.robot index b62ed89bc..4308c8d78 100644 --- a/test/functional/cases/280_rules.robot +++ b/test/functional/cases/280_rules.robot @@ -105,6 +105,9 @@ PHISH_SENDER_E ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender5.eml Should Contain ${result.stdout} SOMETHING +PHISH_SENDER_ROUTING_PART + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/phish_sender6.eml + Should Contain ${result.stdout} SOMETHING *** Keywords *** Rules Setup diff --git a/test/functional/messages/phish_sender6.eml b/test/functional/messages/phish_sender6.eml new file mode 100644 index 000000000..d50c43408 --- /dev/null +++ b/test/functional/messages/phish_sender6.eml @@ -0,0 +1,14 @@ +Received: by mail-lf1-f54.gulugulu.com with SMTP id j14so14439709lfg.9 + for <test@test.ru>; Mon, 27 Apr 2020 09:54:21 -0700 (PDT) +From: <@test.com, @test.ru:test@attack.com> +Date: Mon, 27 Apr 2020 19:54:10 +0300 +Message-ID: <CA+1S=h4aGimA6vSBJF=t1F+5z-Mua5+Cimf+NU_NDWJk8ZNOcw@mail.gmail.com> +Subject: Fwd: +To: <test@test.ru> +Content-Type: multipart/alternative; boundary="00000000000004de7805a4489190" + +--0000000000004bee6805a4484c02 +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: 8bit + +sadsad |