Re: [exim] Detecting the domain part of a host address

Góra strony
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
Dla: exim users
Temat: Re: [exim] Detecting the domain part of a host address
On 25/06/07, Marc Perkel <marc@???> wrote:
> What would be the method of detecting the domain part of a host address?
> For example:
>
> 82-46-151-246.cable.ubr04.perr.blueyonder.co.uk
>
> How would you write an ACL that would extract the blueyonder.co.uk part?


In an ACL directly - not likely. But have a look at
http://www.teuton.org/~ejm/exim_surbl/
which describes a method of implementing SURBL support - that project
uses some perl and a file containing hints for ccTLDs - this might
give you a head start.

Peter

--
Peter Bowyer
Email: peter@???