GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MAIL::SPAMASSASSIN::REGISTRYBOUNDARIES (3)

.ds Aq ’

NAME

Mail::SpamAssassin::RegistryBoundaries - domain delegation rules

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAIL::SPAMASSASSIN::REGISTRYBOUNDARIES (3) 2015-04-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.