Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > e86a68124d133dbee71a19c66742294e > files > 3

perl-Mail-RBL-1.00-3mdk.noarch.rpm

NAME
    Mail::RBL - Perl extension to access RBL-style host verification
    services

SYNOPSIS
      use Mail::RBL;

      my $list = new Mail::RBL('list.org');

      if ($list->check($host)) {
          print "$host is in the list";
      }

DESCRIPTION
    This module eases the task of checking if a given host is in the list.
    The methods available are described below:

    `->new(suffix)'
        Creates a list handle. The `suffix' parameter is mandatory and
        specifies which suffix to append to the queries.

    `->check($host)'
        `$host' can be either a hostname or an IP address. In the case of an
        IP Address, any trailing netmask (anything after a '/' character)
        will be ignored. In the case of a hostname, all the IP addresses
        will be looked up and checked against the list. If any of the
        addresses is in the list, the host will be considered in the list as
        a whole.

AUTHOR
    Luis E. Munoz <lem@cantv.net>

SEE ALSO
    perl(1).