[exim] Searching address in a "partial" list

Top Page
Delete this message
Reply to this message
Author: Luca Bertoncello
Date:  
To: Users, Exim
Subject: [exim] Searching address in a "partial" list
Hi all!

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.
I really don't know how to do that. Any suggestion?

I found that:

    condition       = ${if 
match{$acl_m_fromad}{/etc/exim4/lists/block.senders}{yes}{no}}


but it does not work... :(

Can someone help me?

Thanks
Luca Bertoncello
(lucabert@???)