diff --git a/tests/compose/filters/02_email_antispam.sh b/tests/compose/filters/02_email_antispam.sh index 009a13a2..923f1475 100755 --- a/tests/compose/filters/02_email_antispam.sh +++ b/tests/compose/filters/02_email_antispam.sh @@ -1,4 +1,5 @@ -python3 tests/email_test.py message-virus "tests/compose/filters/gtube.txt" +# GTUBE should be blocked, see https://rspamd.com/doc/gtube_patterns.html +python3 tests/email_test.py "XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X" if [ $? -eq 99 ]; then exit 0 else diff --git a/tests/compose/filters/gtube.txt b/tests/compose/filters/gtube.txt deleted file mode 100644 index 728c7cc6..00000000 --- a/tests/compose/filters/gtube.txt +++ /dev/null @@ -1 +0,0 @@ -XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X