Re: [exim] Matching a client's IP address against a hostlist

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Matching a client's IP address against a hostlist
On 24/02/16 14:57, Mike Brudenell wrote:
> Does anyone have any thoughts on whether it's possible to do the equivalent
> of a *hosts* type match within a string expansion?


Yes. But it's more effort than it's worth.

- walk list-to-match
- spot IP addresses vs. names
- do dnsdb lookups
- walk multiple returns
- compare against sender_ip
- go round again having remembered ipv6