other versions
- buster 3.4.2-1+deb10u3
- buster-backports 3.4.4-1~bpo10+1
- testing 3.4.6-1
- unstable 3.4.6-1
- experimental 4.0.0~0.0svn1892135-1
Mail::SpamAssassin::RegistryBoundaries(3pm) | User Contributed Perl Documentation | Mail::SpamAssassin::RegistryBoundaries(3pm) |
NAME¶
Mail::SpamAssassin::RegistryBoundaries - domain delegation rulesMETHODS¶
- ($hostname, $domain) = split_domain ($fqdn)
- Cut a fully-qualified hostname into the hostname part and the domain part,
splitting at the DNS registry boundary.
Examples:
"www.foo.com" => ( "www", "foo.com" ) "www.foo.co.uk" => ( "www", "foo.co.uk" )
- $domain = trim_domain($fqdn)
- Cut a fully-qualified hostname into the hostname part and the domain part,
returning just the domain.
Examples:
"www.foo.com" => "foo.com" "www.foo.co.uk" => "foo.co.uk"
- $ok = is_domain_valid($dom)
- Return 1 if the domain is valid, "undef" otherwise. A valid domain (a) does not contain whitespace, (b) contains at least one dot, and (c) uses a valid TLD or ccTLD.
2020-01-31 | perl v5.28.1 |