Re: [exim] Expand message_body, how to?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: kuncho pencho
Date:  
À: exim-users
Sujet: Re: [exim] Expand message_body, how to?
Hi Jeremy,
Thanks for the idea.


Best regards.








>-------- Оригинално писмо --------


>От: Jeremy Harris via Exim-users exim-users@???


>Относно: Re: [exim] Expand message_body, how to?


>До: exim-users@???


>Изпратено на: 05.10.2018 16:59



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



--

## List details at https://lists.exim.org/mailman/listinfo/exim-users

## Exim details at http://www.exim.org/

## Please use the Wiki with this list - http://wiki.exim.org/