Re: [Exim] FW: bombarded with Medication - follow up

Pàgina inicial
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
A: Exim-Users (E-mail)
Assumpte: Re: [Exim] FW: bombarded with Medication - follow up
--
* Thomas Kinghorn <thomask@???> [20031020 15:35]: wrote:
>
> > Hi List
> >
> > is there a way to check for specific words in the message body in the
> > ACL_check_data
> >
> > I was thinking of something like
> >
> >  # Reject message containing specific blacklisted words
> >   deny  message = This message contains blacklisted words.
> >         demime = *
> >         condition = ${if ($message_body)contains
> > {lsearch;/usr/exim/blocked-words/blockedwords}{1}{0}}

> >
> > where blockedwords is a list of Medicines etc..., for example
> >
> This did not work.
>
> If I add the system filter:
>
> if $message_body: contains "Vioxx"
>
> it works.
>
> Now, is there a way to get the system filter to lsearch a file?
> eg
>
> if $message_body: contains
> {lsearch;/usr/exim/blocked-words/blockedwords}{$value}}
>
> thanks in advance.


Someone once offered to pay to get this working and actually did get
it working. See http://www.ctyme.com/filter.txt



        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post
--
[ Content of type application/x-pkcs7-signature deleted ]
--