/usr/share/perl5/Mail/SPF/SenderIPAddrMech.pm is in libmail-spf-perl 2.9.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | #
# Mail::SPF::SenderIPAddrMech
# Abstract base class for SPF record mechanisms that operate on the SMTP
# sender's IP address.
#
# (C) 2005-2012 Julian Mehnle <julian@mehnle.net>
# $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 <julian@mehnle.net>
=cut
TRUE;
|