Man Page: mail::spamassassin::util::registrarboundaries
Operating Environment: debian
Section: 3pm
Mail::SpamAssassin::Util::RegistrarBoundaries(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Util::RegistrarBoundaries(3pm)NAMEMail::SpamAssassin::Util::RegistrarBoundaries - domain delegation rulesMETHODS($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.14.2 2014-02-14 Mail::SpamAssassin::Util::RegistrarBoundaries(3pm)
| Related Man Pages |
|---|
| domain(8) - redhat |
| mail::spf::util(3) - mojave |
| mail::spf::util(3pm) - debian |
| mail::spamassassin::plugin::uridetail(3pm) - debian |
| mail::spamassassin::util(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Installing Dash Shell on OS X Lion |
| awk or sed - Convert 2 lines to 1 line |
| Weird 'find' results |
| My first PERL incarnation... Audio Oscillograph |