Mail::SpamAssassin::Util::RegistrarBoundaries (3)
Leading comments
Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAME
Mail::SpamAssassin::Util::RegistrarBoundaries - domain delegation rulesThis module is DEPRECATED AND REPLACED WITH Mail::SpamAssassin::RegistryBoundaries !!
DO NOT USE. This is left as transition fallback for third party plugins.
It will be removed in the future but all functionality has been transitioned to Mail::SpamAssassin::RegistryBoundaries and the TLD updates via 20_aux_tlds.cf delivered via sa-update with version 3.4.1.
METHODS
- ($hostname, $domain) = split_domain ($fqdn)
-
Cut a fully-qualified hostname into the hostname part and the domain
part, splitting at the DNSregistry boundary.
Examples:
"www.foo.com" => ( "www", "foo.com" ) "www.foo.co.uk" => ( "www", "foo.co.uk" )
This function has been moved !!! See Mail::SpamAssassin::RegistryBoundaries !!!
This is left as transition fallback for third party plugins.
It will be removed in the future.
- $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"
This function has been moved !!! See Mail::SpamAssassin::RegistryBoundaries !!!
This is left as transition fallback for third party plugins.
It will be removed in the future.
- $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 TLDor ccTLD.
This function has been moved !!! See Mail::SpamAssassin::RegistryBoundaries !!!
This is left as transition fallback for third party plugins.
It will be removed in the future.