Re: [exim] dnslists - netmask or wildcard

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nick Rickard
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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.