I want to share with you this simple rule that allow you to get rid off stock spam messages (text mode)
1 - Go to /var/log folder
2 - Create a file running: touch blfilter.log
3 - Open /etc/antivirus.exim
4 - Insert the following rule to your antivirus.exim file (there are already some stock spam words used frequently)
logfile /var/log/blfilter.log 0644
if (
$message_body: contains "PHYA" or
$message_body: contains "GTEM" or
$message_body: contains "Cialis" or
$message_body: contains "UTVG" or
$message_body: contains "RRLB" or
$message_body: contains "VTSS" or
$message_body: contains "LYJN" or
$message_body: contains "EPRT" or
$message_body: contains "SFWJ" or
$message_body: contains "FCCN" or
$message_body: contains "HWYI" or
$message_body: contains "probityvc" or
$message_body: contains "HXPN" or
$message_body: contains "WHKA.PK" or
$message_body: contains "VMSI" or
$message_body: contains "HER-2" or
$message_body: contains "BLNM" or
$message_body: contains "VIxAGxRA" or
$message_body: contains "CIxALxIS" or
$message_body: contains "VAxLIxUM" or
$message_body: contains "AMxBIxEN" or
$message_body: contains "SOxMA" or
$message_body: contains "PCAI.PK" or
$message_body: contains "AUNI-OTC-BB" or
$message_body: contains "V1AG_GRA" or
$message_body: contains "Vi_aagra" or
$message_body: contains "AUNI" or
$message_body: contains "Via_zgra" or
$message_body: contains "Viazzgra" or
$message_body: contains "NMXC" or
$message_body: contains "WEXE" or
$message_body: contains "LOMJ" or
$message_body: contains "Good day," or
$message_body: contains "MHII" or
$message_body: contains "UTEV" or
$message_body: contains "ledrx" or
$message_body: contains "Victory Energy Corp." or
$message_body: contains "GDKI" or
$message_body: contains "CBRJ"
) then
logwrite "$tod_log $header_from $header_subject is usign a blacklisted word"
seen finish
endif
5 - Check your /var/log/blfilter.log file to see the results.
Tip: the last blacklisted word, in this case $message_body: contains "CBRJ" doesnt must contain "or" at the end. Always keep the last one without or
Thanks!


LinkBack URL
About LinkBacks
Reply With Quote
Your account will be setup AUTOMAGICALLY upon payment.