Re: [exim] Expand message_body, how to?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: 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