Re: [exim] dnslists - netmask or wildcard

Top Page
Delete this message
Reply to this message
Author: Nick Rickard
Date:  
To: exim-users
Subject: Re: [exim] dnslists - netmask or wildcard

On 18/10/2021 10:28, Jeremy Harris via Exim-users wrote:
> On 18/10/2021 09:46, Nick Rickard via Exim-users wrote:
>> I'd like to have the equivalent of '127.0.0.0/24' or '127.0.0.*' as accepted matches.
> Does
>
>   dnslists =    abcdef.sbl.dq.spamhaus.net
>   condition =    ${if match_ip ($dnslist_value) {127.0.0.0/24}}
>
> do what you need?


Yes, thank you.

Noting that it should, I believe, be curly brackets throughout the condition.