Re: [exim] Searching address in a "partial" list

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Searching address in a "partial" list
On 19/04/2021 08:27, Luca Bertoncello via Exim-users wrote:
> I need to check if the given address is in a "block list".
> The problem is, that the list can contains part of addresses, too, eg:
>
> test@???
> test
> tester.de
>
> so that a lookup for blah@??? must match.


Are you allowed to (mass-) edit this file before use?
You could turn the lines into RE's and use nwildlsearch:

^test@tester\.de
^test
^tester\.de

--
Cheers,
Jeremy