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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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