Re: [exim] DBM Lookup Question

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ian Eiloart
日付:  
To: W B Hacker, exim users
題目: Re: [exim] DBM Lookup Question


--On 15 February 2009 14:50:00 +0800 W B Hacker <wbh@???> wrote:

>
> AFAIK the crux of it is that the Exim variable '$domain' actually
> matches <domain>.<tld>, and parses for that, ignoring any and all
> prefixes (unless otherwise directed - for which Exim DOES already have
> tools).
>
> I haven't looked at the code, but the action appears to be to take the
> two fields from the 'rightmost' end of the string (only).


That's extremely unlikely given that the bulk of the development was done
at cam.ac.uk, where .ac.uk is not specific to the institution. Indeed, for
most .uk domains, you need three levels of domain to find the institution -
eg "apple.co.uk" (an illustrators agents unrelated to the music
publishers), "sussex.ac.uk" (the university of Sussex), lewes.gov.uk (my
district council), "oxfam.org.uk" (a charity).

There are very few exceptions, such as "bl.uk" (the British Library), and
"parliament.uk".

Here's a potentially useful resource:
<https://wiki.mozilla.org/TLD_List>

--
Ian Eiloart
IT Services, University of Sussex
x3148