Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Mail::SpamAssassin::ReUserrContributedaPe::SpamAssassin::RegistryBoundaries(3)

NAME
       Mail::SpamAssassin::RegistryBoundaries -	domain delegation rules

METHODS
       ($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.

perl v5.24.1			  201Mail::SpamAssassin::RegistryBoundaries(3)

NAME | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Mail::SpamAssassin::RegistryBoundaries&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help