Author: Jakob Hirsch Date: To: Jan Johansson, 'Exim-users' CC: Subject: Re: [exim] explode adresses?
Jan Johansson wrote:
>> ${if match{$your_variable}{\N=(\w+)@\N} {$1}fail}
> But.. I must be slow here. How can I use that for a "require_file"
You write it where it's needed, e.g. /some/path/${if ...}
But it's not a good idea to use fail in require_files, because an item
with a failed expansion will be ignored, so change the fail to something
that will never exist in your directory.