| Server IP : 188.114.97.2 / Your IP : 104.23.243.200 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/perl5/Mail/SPF/ |
Upload File : |
#
# Mail::SPF::SenderIPAddrMech
# Abstract base class for SPF record mechanisms that operate on the SMTP
# sender's IP address.
#
# (C) 2005-2012 Julian Mehnle <[email protected]>
# $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<Mail::SPF::SenderIPAddrMech> 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<Mail::SPF::Mech/Constructors>.
=head2 Class methods
See L<Mail::SPF::Mech/Class methods>.
=head2 Instance methods
See L<Mail::SPF::Mech/Instance methods>.
=head1 SEE ALSO
L<Mail::SPF>, L<Mail::SPF::Record>, L<Mail::SPF::Mech>
L<Mail::SPF::Mech::IP4>,
L<Mail::SPF::Mech::IP6>,
L<Mail::SPF::Mech::A>,
L<Mail::SPF::Mech::MX>,
L<Mail::SPF::Mech::PTR>
L<http://tools.ietf.org/html/rfc4408>
For availability, support, and license information, see the README file
included with Mail::SPF.
=head1 AUTHORS
Julian Mehnle <[email protected]>
=cut
TRUE;