mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
Add a new test for PUAs
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
python3 tests/email_test.py message-virus "tests/compose/filters/eicar.com.txt"
|
||||
if [ $? -eq 99 ]; then
|
||||
exit 0
|
||||
python3 tests/email_test.py message-PUA "tests/compose/filters/PotentiallyUnwanted.exe_"
|
||||
if [ $? -eq 99 ]; then
|
||||
return 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BIN
tests/compose/filters/PotentiallyUnwanted.exe_
Normal file
BIN
tests/compose/filters/PotentiallyUnwanted.exe_
Normal file
Binary file not shown.
Reference in New Issue
Block a user