# # Mail::SPF::SenderIPAddrMech # Abstract base class for SPF record mechanisms that operate on the SMTP # sender's IP address. # # (C) 2005-2012 Julian Mehnle # $Id: SenderIPAddrMech.pm 57 2012-01-30 08:15:31Z julian $ # ############################################################################## package Mail::SPF::SenderIPAddrMech; =head1 NAME Mail::SPF::SenderIPAddrMech - Abstract base class for SPF record mechanisms that operate on the SMTP sender's IP address =cut use warnings; use strict; use base 'Mail::SPF::Mech'; use constant TRUE => (0 == 0); use constant FALSE => not TRUE; use constant explanation_templates_by_result_code => { %{__PACKAGE__->SUPER::explanation_templates_by_result_code}, pass => "%{c} is authorized to use '%{s}' in '%{_scope}' identity", fail => "%{c} is not authorized to use '%{s}' in '%{_scope}' identity", softfail => "%{c} is not authorized to use '%{s}' in '%{_scope}' identity, however domain is not currently prepared for false failures", neutral => "Domain does not state whether %{c} is authorized to use '%{s}' in '%{_scope}' identity" }; =head1 DESCRIPTION B is an abstract base class for SPF record mechanisms that operate on the SMTP sender's IP address. It cannot be instantiated directly. Create an instance of a concrete sub-class instead. =head2 Constructors See L. =head2 Class methods See L. =head2 Instance methods See L. =head1 SEE ALSO L, L, L L, L, L, L, L L For availability, support, and license information, see the README file included with Mail::SPF. =head1 AUTHORS Julian Mehnle =cut TRUE;