Mail::SpamAssassin::RegistryBoundaries - domain delegation rules
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" )
If $is_ascii given and true, skip idn_to_ascii() conversion
Cut a fully-qualified hostname into the hostname part and the domain part, returning just the domain.
"www.foo.com" => "foo.com" "www.foo.co.uk" => "foo.co.uk"
Return 1 if the domain/hostname uses valid known TLD, undef otherwise.
1
undef
If $is_ascii given and true, skip idn_to_ascii() conversion.
Note that this only checks the TLD validity and nothing else. To verify that the complete fqdn is in a valid legal format, Util::is_fqdn_valid() can additionally be used.
To install Mail::SpamAssassin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SpamAssassin
CPAN shell
perl -MCPAN -e shell install Mail::SpamAssassin
For more information on module installation, please visit the detailed CPAN module installation guide.