Autor: Drav Sloan Data: Dla: Thomas Andrews CC: exim-users Temat: Re: [exim] splitting a domain
Thomas Andrews wrote: > How do I write an 'if' statement or similar to search for
> $local_part in the two files, and return the name of which ever file
> contains it?
To me that sounds like a simple case of two separate routers one
with a condition that lsearch'es the group1 file and a 2nd router
that handles the group2 file. Having a condition that tries to
do both would just end up with the same behaviour but an extremly
ugly hard-to-read condition statement.