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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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