Re: [exim] regex confusion

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Mark Edwards
CC: exim-users
Subject: Re: [exim] regex confusion
On Tue, 27 Sep 2005, Mark Edwards wrote:
>
> accept regex = (To|Cc):.*nospam-.*(\n|\r)


The argument to the regex condition is a colon-separated list of regular
expressions.

It would be much better to set a $acl_m* flag in your RCPT ACL if one of
the addresses matches nospam-*, then test the flag in your content ACL.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}