Re: [exim] Expand message_body, how to?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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