1Mail::SpamAssassin::RegUissetrryCBoonutnrdiabruiteesdM(a3Pi)elr:l:SDpoacmuAmsesnatsastiino:n:RegistryBoundaries(3)
2
3
4
6 Mail::SpamAssassin::RegistryBoundaries - domain delegation rules
7
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.32.1 2021M-a0i4l-:1:4SpamAssassin::RegistryBoundaries(3)