1Mail::SpamAssassin::UtiUls:e:rReCgoinstMtrariiablru:Bt:oeSudpnadPmaeArrsilseasDs(os3ci)unm:e:nUttaitli:o:nRegistrarBoundaries(3)
2
3
4

NAME

6       Mail::SpamAssassin::Util::RegistrarBoundaries - domain delegation rules
7

METHODS

9       ($hostname, $domain) = split_domain ($fqdn)
10           Cut a fully-qualified hostname into the hostname part and the
11           domain part, splitting at the DNS registry boundary.
12
13           Examples:
14
15               "www.foo.com" => ( "www", "foo.com" )
16               "www.foo.co.uk" => ( "www", "foo.co.uk" )
17
18       $domain = trim_domain($fqdn)
19           Cut a fully-qualified hostname into the hostname part and the
20           domain part, returning just the domain.
21
22           Examples:
23
24               "www.foo.com" => "foo.com"
25               "www.foo.co.uk" => "foo.co.uk"
26
27       $ok = is_domain_valid($dom)
28           Return 1 if the domain is valid, "undef" otherwise.  A valid domain
29           (a) does not contain whitespace, (b) contains at least one dot, and
30           (c) uses a valid TLD or ccTLD.
31
32
33
34perl v5.12.4                  Mail2:0:1S1p-a0m6A-s0s6assin::Util::RegistrarBoundaries(3)
Impressum