aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/functional/cases/280_rules.robot3
-rw-r--r--test/functional/messages/phish_sender6.eml14
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