Re: [exim] String Search - What am I doing wrong?

2019-10-11 Thread Heiko Schlittermann via Exim-users
Graeme Fowler via Exim-users (Do 10 Okt 2019 08:45:51 CEST): > On 10 Oct 2019, at 03:40, Rob Gunther via Exim-users > wrote: > > 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}}

Re: [exim] String Search - What am I doing wrong?

2019-10-10 Thread Graeme Fowler via Exim-users
On 10 Oct 2019, at 03:40, Rob Gunther via Exim-users wrote: > I am trying to conduct a search (condition) in an ACL. > > condition = ${if match {$spam_report:}{VIRUS}} > But I actually need to search for the string VIRUS( You need the \N…\N construct, and (possibly, probably) a character

[exim] String Search - What am I doing wrong?

2019-10-09 Thread Rob Gunther via Exim-users
I am trying to conduct a search (condition) in an ACL. condition = ${if match {$spam_report:}{VIRUS}} The above WORKS. My understanding when using the match command the right element is considered a REGEX, even though I don't need that functionality I don't see any other way to conduct a