⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
perl5
/
Mail
/
SPF
/
Mech
/
View File Name :
All.pm
# # Mail::SPF::Mech::All # SPF record "all" mechanism class. # # (C) 2005-2012 Julian Mehnle
# 2005 Shevek
# $Id: All.pm 57 2012-01-30 08:15:31Z julian $ # ############################################################################## package Mail::SPF::Mech::All; =head1 NAME Mail::SPF::Mech::All - SPF record C
mechanism class =cut use warnings; use strict; use base 'Mail::SPF::Mech'; use constant TRUE => (0 == 0); use constant FALSE => not TRUE; use constant name => 'all'; use constant name_pattern => qr/${\name}/i; use constant explanation_templates_by_result_code => { %{__PACKAGE__->SUPER::explanation_templates_by_result_code}, pass => "Sender is authorized by default to use '%{s}' in '%{_scope}' identity", fail => "Sender is not authorized by default to use '%{s}' in '%{_scope}' identity", softfail => "Sender is not authorized by default to use '%{s}' in '%{_scope}' identity, however domain is not currently prepared for false failures", }; =head1 DESCRIPTION An object of class B
represents an SPF record mechanism of type C
. =head2 Constructors The following constructors are provided: =over =item B
: returns I
Creates a new SPF record C
mechanism object. %options is a list of key/value pairs representing any of the following options: =over =item B
See L
. =back =item B
: returns I
; throws I
, I
Creates a new SPF record C
mechanism object by parsing the string and any options given. =back =head2 Class methods The following class methods are provided: =over =item B
=item B
See L
. =item B
: returns I
Returns B<'all'>. =item B
: returns I
Returns a regular expression that matches a mechanism name of B<'all'>. =back =head2 Instance methods The following instance methods are provided: =over =cut sub parse_params { my ($self) = @_; # No parameters. return; } =item B
=item B
=item B
=item B
See L
. =item B
: returns I
Returns B
because the C
mechanism always matches. See RFC 4408, 5.1, for details. =cut sub match { my ($self, $server, $request) = @_; return TRUE; } =back =head1 SEE ALSO L
, L
, L
, L
L
For availability, support, and license information, see the README file included with Mail::SPF. =head1 AUTHORS Julian Mehnle
, Shevek
=cut TRUE;