On Mon, 2007-06-25 at 07:38 -0700, Marc Perkel wrote: > What I'm looking for is that part of the name that someone could register.
As you might gather, there's no easy way to do this with Exim. In actual fact, there's no easy way to do this *at all*. Every single gTLD, ccTLD and pseudo-TLD registry has different procedures for what can, and can't, be registered. You'd be better off spending time looking at the xTLD specifications (by 'x' I mean all of them) to see what the registrars use as their own TLDs. There's a lot of them. For example - Nominet is responsible for the .uk TLD. JANET is responsible for the .ac.uk SLD. Both have different rules. The diverse nature of this gets even more complicated when you consider that there's: .com (ICANN or Verisign, ultimately) .uk.com (Centralnic) Both have different rules *but* both are commercial entities. I could, in theory, register "schmoodle.com" and "schmoodle.uk.com". How do you determine, in the second case, that "uk" isn't the bit you're looking for? You need a lookup table populated from elsewhere. IMO you cannot do this with a regular expression, no matter how hard you ask. Graeme -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
