On 26/07/2021 14:16, Graeme Fowler via Exim-users wrote:
So… if there are lines after the first match, they’ll never be reached. As 
Jeremy states, wrong tool for the job.

If you want to persevere with lsearch, make your key (the bit before the colon) 
unique and set multiple values,

The alternative will be something closer to a real database (than the flat file 
accessed
by lsearch), which can return multiple results for a single query.  Sqlite, 
CDB, LMDB, Postgres, etc.
--
Cheers,
  Jeremy

--
## 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/

Reply via email to