[exim] German Spams :: System Filter

Top Page
Delete this message
Reply to this message
Author: GamCo - Gawie Marais
Date:  
To: exim-users
Subject: [exim] German Spams :: System Filter
Hi,



I'm not sure if anyone would need a system filter to block those unwanted
German mails coming through, but this seems to be working for us. If someone
has some mods they can make on the filter to improve it, please send back.







# Try to spot the German worm

if

    $h_subject: contains "Multi-Kulturell = Multi-Kriminell" or


    $h_subject: contains "Vorbildliche Aktion" or


    $h_subject: contains "Auslaender bevorzugt" or


    $h_subject: contains "Massenhafter Steuerbetrug durch auslaendische
Arbeitnehmer" or


    $h_subject: contains "Dresden 1945" or


    $h_subject: contains "Transparenz ist das Mindeste" or


    $h_subject: contains "Volk wird nur zum zahlen gebraucht!" or


    $h_subject: contains "Auf Streife durch den Berliner Wedding" or


    $h_subject: contains "Verbrechen der deutschen Frau" or


    $h_subject: contains "Trotz Stellenabbau" or


    $h_subject: contains "60 Jahre Befreiung: Wer feiert mit?" or


    $h_subject: contains "Schily ueber Deutschland" or


    $h_subject: contains "Armenian Genocide Plagues Ankara 90 Years On" or


    $h_subject: contains "Tuerkei in die EU" or


    $h_subject: contains "Du wirst ausspioniert ....!" or


    $h_subject: contains "Gegen das Vergessen" or


    $h_subject: contains "Blutige Selbstjustiz" or


    $h_subject: contains "Paranoider Deutschenmoerder kommt in Psychiatrie"
or


    $h_subject: contains "S.O.S. Kiez! Polizei schlaegt Alarm" or


    $h_subject: contains "The Whore Lived Like a German" or


    $h_subject: contains "Deutsche Buerger trauen sich nicht ..." or


    $h_subject: contains "Dresden Bombing Is To Be Regretted Enormously" or


    $message_body contains "this is spam" or


    $message_body contains "Lese selbst"


then

logfile /var/log/exim/exim-systemfilter-reject

logwrite "$tod_log $message_id rejected (German signature)"

logwrite "$tod_log subject: $header_subject"

logwrite "$tod_log recipients: $recipients"

logwrite "$tod_log return path: $return_path"

logwrite
"---------------------------------------------------------------------------
---"

seen finish

endif







Regards



Gawie.