Unix/Linux Go Back    


CentOS 7.0 - man page for mail::spamassassin::util::registrarboundaries (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


Mail::SpamAssassin::Util::RegisUserBContributed)PMail::SpamAssassin::Util::RegistrarBoundaries(3)

NAME
       Mail::SpamAssassin::Util::RegistrarBoundaries - 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.16.3				    2011-Mail::SpamAssassin::Util::RegistrarBoundaries(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 04:57 AM.