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

Góra strony
Delete this message
Reply to this message
Autor: Mike Brudenell
Data:  
Dla: Exim Users
Temat: Re: [exim] Matching a client's IP address against a hostlist
Ouch! You're right: too much effort. I'll take the two ACL route.

Many thanks again,
Mike B-)

On 24 February 2016 at 15:14, Jeremy Harris <jgh@???> wrote:

> 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



--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm