Re: [exim] Expand message_body, how to?

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Expand message_body, how to?
On 05/10/2018 14:22, kuncho pencho via Exim-users wrote:
> I want to discard message if some text is found. Let's say "Bitcoin wallet". I understood what need to do.


You don't actually need a system filter for that. Unless
you have one for other reasons?

In a data ACL, deny on a condition
"${if match {$message_body}{Bitcoin wallet}}"

Read the ACLs chapter and the String-expnasins chapter
in the docs.
--
Jeremy