Exim lsearch lookup in multiple files at the same time

rustyx

Verified User
Joined
May 17, 2016
Messages
3
I need to have Exim go through multiple files in an lsearch lookup, stopping when the first match is found.

To be more concrete, I have /etc/exim/plain1 and /etc/exim/plain2 which contain authenticator data.

My current solution works with only one file:

Code:
    PLAIN:
      driver = plaintext
      client_send = ${lookup{$sender_address}lsearch{/etc/exim/plain1}}

How can I extend this to also check /etc/exim/plain2?
 
Back
Top