]> source.dussan.org Git - rspamd.git/commitdiff
[TEST] New bitcoin addr
authorkorgoth1 <vladislav.stakhov@gmail.com>
Wed, 24 Jun 2020 19:13:17 +0000 (22:13 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Wed, 24 Jun 2020 19:13:17 +0000 (22:13 +0300)
test/functional/cases/280_rules.robot
test/functional/messages/btc2.eml [new file with mode: 0644]
test/functional/messages/btc3.eml [new file with mode: 0644]
test/functional/messages/yand_forward.eml

index a847fbbc71c4cf0e9d4cef7b30c4d93f573a1ca8..18e3f38505edd3ad75305468deb4a187e4a21113 100644 (file)
@@ -60,6 +60,14 @@ BITCOIN ADDR
   ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc.eml
   Should Contain  ${result.stdout}  BITCOIN_ADDR
 
+BITCOIN ADDR 2
+  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc2.eml
+  Should Contain  ${result.stdout}  BITCOIN_ADDR
+
+BITCOIN ADDR 3
+  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc3.eml
+  Should Contain  ${result.stdout}  BITCOIN_ADDR  
+
 RCVD_COUNT_ONE
   ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc.eml
   Should Contain  ${result.stdout}  RCVD_COUNT_ONE
diff --git a/test/functional/messages/btc2.eml b/test/functional/messages/btc2.eml
new file mode 100644 (file)
index 0000000..fe4819c
--- /dev/null
@@ -0,0 +1,22 @@
+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@test.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: base64
+
+qq5llzv84punzrx2vlv33m5d5jm3tnr8aqqz3kwel3 - bech32
+
+--0000000000004bee6805a4484c02
+Content-Type: text/html; charset="UTF-8"
+Content-Transfer-Encoding: quoted-printable
+
+qq5llzv84punzrx2vlv33m5d5jm3tnr8aqqz3kwel3 - bech32
+
+--0000000000004bee6805a4484c02--
\ No newline at end of file
diff --git a/test/functional/messages/btc3.eml b/test/functional/messages/btc3.eml
new file mode 100644 (file)
index 0000000..cb9dfa2
--- /dev/null
@@ -0,0 +1,22 @@
+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@test.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: base64
+
+bitcoincash:qztslqhavnjcgth9zwu6dw0jjcfy4zahfy7vf0smwpp
+
+--0000000000004bee6805a4484c02
+Content-Type: text/html; charset="UTF-8"
+Content-Transfer-Encoding: quoted-printable
+
+bitcoincash:qztslqhavnjcgth9zwu6dw0jjcfy4zahfy7vf0smwpp
+
+--0000000000004bee6805a4484c02--
\ No newline at end of file
index b95309f333677b0242f6e9afbbc8ab43047156b6..8ea2636defa2d5bc67b60c3a4460ddda38ecab83 100644 (file)
@@ -1,4 +1,4 @@
-Return-Path: <test@test.eu>
+Return-Path: <test@test.net>
 Received: from mx7.test.ru ([0.0.0.0] verified)
   by mail.test.ru (test mail)
   with ESMTP id 60578244