[exim] exim central filter

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: MadTh
Fecha:  
A: exim-user
Asunto: [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