On Fri, 19 Mar 1999, Toralf Lund wrote:
> This looks more like what I need, but it doesn't quite work. The domain list appears
> to come out right, but no rewrite takes place. This is not very surprising, as
>
> *@^(cat|dog|rabbit)\.ex$ $local_part@???
>
> has no effect, either. It looks like the regular expression can't start in the middle
> of the left-hand-side string.
Hmm. That was precisely the thing I noticed wasn't mentioned in the
manual, and I went away and checked it. The domain *can* be an
independent regex. I'd better check again... Well, I've just tried
precisely that rule, and used exim -brw to check it. It appears to work
for me. I also tried mailing to that address, and it got rewritten.
Can you give me more details of how it fails for you?
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***