Re: query files in regular expressions
"Anand Gupta" <[email protected]> Fri, 22 Oct 2004 07:01:32 +0530
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Organization | India Web Promoters |
| Message-ID | <038301c4b7d6$df86e320$0600a8c0@athlonaad> |
> The rhs of the regex statement is an expanded string, so I guess it should
> be possible to use $readfile to read a list of regexes from an external
> file, one per line.
>
> eg (untested)
>
> deny message = Contains unwanted content
> regex = ${readfile {filename}{:}}
This works like a charm :) just what i was looking for.
Thx a lot for the help.
regards,
Anand Gupta