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. Regards D. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
