[exim] $message_body lsearch

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Hans Klose
Datum:  
To: exim-users
Betreff: [exim] $message_body lsearch
I have a rule which searches the mail body for given sentences.
I would like to put these sentences from the configuration
into a file.

deny message = STOP!
condition = ${if or { \
    {match {${lc:$message_body}}{.*this is sentence one.*}} \
    {match {${lc:$message_body}}{.*this is sentence two.*}} \
    {match {${lc:$message_body}}{.*this is sentence three.*}} \
    }{1}{0}}


I tried something like

condition = ${if match{$message_body}{lsearch;/etc/local/exim/test-word}{yes}{no}}

with no success.

Wow can I do this?

Regards Hans.
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de