Auteur: Phil Chambers
Date:
À: P Kirk
CC: exim-users
Sujet: Re: [Exim] Exim Spam Filter Example
> So if I want anyone who opens an email with "Dear friend" to be caught, what synrax would you recommend?
If you want to match exactly that, you need
if $message_body BEGINS "Dear friend"
If you want to ignore case use
if $message_body begins "dear friend"
If you want to ignore blank lines and spaces before it then
if $message_body MATCHES "^ *Dear friend"
or
if $message_body matches "^* dear friend"
Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter