Re: [Exim] Readme.exe

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: James Ian Thorne
Ημερομηνία:  
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Readme.exe
Thanks. I am only just starting with exim filters. I did not know that
the quotes weren't always there. Fortunately, it was caught by the .EXE
filter as well.

James.

Dan Lowe wrote:
>
> Previously, James Ian Thorne said:
> > An alternative is:
> >
> > if $message_body contains "name=\"readme.exe\"" then
> > [ your desired actions ]
> > endif
> >
> > It has been catching the emails fine, as far as I am aware.
>
> Note that the double-quotes aren't always present, so I usually
> have something more like
>
> if ( $message_body contains "name=\"readme.exe\""
>      or $message_body contains "name=readme.exe" )
> then
>    [ desired actions ]
> endif

>
> --
> Our doubts are traitors / And make us lose the good we might oft win,
> By fearing to attempt.        -William Shakespeare, Measure for Measure


--
UNIX and Comms, Computing, RBG Kew
Tel: +44 (0)20 8332 5729
Email: j.thorne@???
SMS: james-sms@???