Re: [Exim] System filter - text content

Pàgina inicial
Delete this message
Reply to this message
Autor: Yann Golanski
Data:  
A: Pete Wilkins
CC: exim-users
Assumpte: Re: [Exim] System filter - text content
On Thu, Sep 28, 2000 at 02:51:44PM +0100, Pete Wilkins wrote:
> I'm trying to catch email containing specific phrases and get copies of them
> forwared to me. I have system wide filter very much like


hum.... the phrase ``fasciste state'' springs to mind. Not only is this
illegal (RIPE bill anyone?), but it is a serious breach of priovacy and
trust.

I do hope that this is an `academic question' and is never going to be
implemented.

> if $message_body matches "...pattern..."
> then
>          mail
>          to pete@earth
>          return message
>          subject Whatever
> endif

>
> But Exim concatenates to a mailbox called 'message filter'. Eh? What's the
> point of the 'to' field then.


if $message_body matches "...pattern..."
then
unseen deliver pete@earth
unseen save /some/snoop/path/to/snoop/mailbox
freeze text "this message is EVIl as it does not agree with what I think."
endif

-- 
        Please use PGP when replying to this message
Dr Yann Golanski                            Internet Systems Developer
PGP: http://www.kierun.org/pgp/key-planet   Mailmaster for the Planet Online