[exim] exim central filter

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: MadTh
Dátum:  
Címzett: exim-user
Tárgy: [exim] exim central filter
Hi to all,


I have one central exim filter ( say with following rules ).



# Exim filter

if not first_delivery and error_message then finish endif

if
$h_X-Spam-Status: contains "yes"
or $header_subject: contains "Pharmaceutical"
or $header_subject: contains "Viagra"
or $header_subject: contains "Cialis"
or $header_subject: contains "Ink & Toner"
or $header_subject: is "The Ultimate Online Pharmaceutical"
or $header_subject: contains "***SPAM***"
or $header_subject: contains "[SPAM]"
or $header_subject: contains "blowjob"
or $header_subject: contains "cock"
or $header_subject: contains "dick"
or $header_subject: contains "Enhancement supplement"
or $header_subject: contains "Rolex"

then
  fail text "Email header or body is suspicious.\n\
             If you think this is incorrect, contact support"
  seen finish
endif








Is it possible to identify or log the regex/keyword( or while line of the
filter), if the email had header/subject or body matches the central filter
and intercepted with a bounced message?






Thank you