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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Peter Bowyer
Cc: exim users
Asunto: Re: [exim] Detecting the domain part of a host address
On Mon, 25 Jun 2007, Peter Bowyer wrote:

> On 25/06/07, Marc Perkel <marc@???> wrote:
> > What I want is to extract the cam.ac.uk part of the above names. It's
> > the TLD + the first string immediately before the TLD.
>
> Which would give you 'demon.co.uk' for many tens of thousands of
> independently-managed spam sources.


Quite. The cam.ac.uk examples I quoted are also managed by a number of
independent organizations. OK, all with "Cambridge University" in a
broad sense, but we are a devolved organization (and indeed comprise
many legal entities, not just organizational divisions).

[And strictly, "the first string before the TLD" in "cam.ac.uk" is
"ac".]

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book