On 10 Oct 2019, at 03:40, Rob Gunther via Exim-users <exim-users@exim.org> 
wrote:
> I am trying to conduct a search (condition) in an ACL.
> 
> condition  = ${if match {$spam_report:}{VIRUS}}
<snip>
> But I actually need to search for the string VIRUS(

You need the \N…\N construct, and (possibly, probably) a character class:

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html

So it would be somehting like:

${if match{$spam_report:}{\NVIRUS[(]\N}}

Graeme
-- 
## 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/

Reply via email to