Skip Menu |

This queue is for tickets about the Mail-SPF CPAN distribution.

Report information
The Basics
Id: 130413
Status: new
Priority: 0/
Queue: Mail-SPF

Owner: Nobody in particular
Requestors: s.ivanov [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: [PATCH] replace references to
Date: Thu, 29 Aug 2019 17:13:05 +0200
To: bug-Mail-SPF [...]
From: Stoiko Ivanov <s.ivanov [...]>
I hope that the following report contains all necessary information (first report at - should anything be missing, please don't hesitate to contact me. has been down for more than 5 months now. Given that the default_authority_explanation is quite often verbatimly logged by various users of the package it should be replaced. The patch changes all relevant occurences of to either: * a link to rfc7208 * a snapshot of the site at * in case of the default_authority_answer to a string without any url Signed-off-by: Stoiko Ivanov <> --- README | 5 +++-- bin/spfquery | 3 ++- lib/Mail/ | 9 +++++---- lib/Mail/SPF/ | 4 ++-- sbin/spfd | 5 ++--- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README b/README index 834279d..01f84d5 100644 --- a/README +++ b/README @@ -7,10 +7,11 @@ Mail::SPF 2.009 -- A Perl implementation of the Sender Policy Framework Mail::SPF is an object-oriented Perl implementation of the Sender Policy Framework (SPF) e-mail sender authentication system. -See <> for more information about SPF. +See <> for more information about SPF. This release of Mail::SPF fully conforms to RFC 4408 and passes the 2009.10 -release of the official test-suite <>. +release of the official test-suite +<> The Mail::SPF source package includes the following additional tools: diff --git a/bin/spfquery b/bin/spfquery index 0188ab9..bb55b10 100755 --- a/bin/spfquery +++ b/bin/spfquery @@ -52,7 +52,8 @@ B<spfquery> B<--help> B<spfquery> checks if a given set of e-mail parameters (e.g., the SMTP sender's IP address) matches the responsible domain's Sender Policy Framework (SPF) -policy. For more information on SPF see L<>. +policy. For more information on SPF see +L<>. =head2 Preferred Usage diff --git a/lib/Mail/ b/lib/Mail/ index cc23115..7a547bb 100644 --- a/lib/Mail/ +++ b/lib/Mail/ @@ -59,7 +59,8 @@ use constant FALSE => not TRUE; =head1 DESCRIPTION B<Mail::SPF> is an object-oriented implementation of Sender Policy Framework -(SPF). See L<> for more information about SPF. +(SPF). See L<> for more information about +SPF. This class collection aims to fully conform to the SPF specification (RFC 4408) so as to serve both as a production quality SPF implementation and as a @@ -78,11 +79,11 @@ included with Mail::SPF. =item The SPF project -L<> +L<> -=item The SPFv1 specification (RFC 4408) +=item The SPFv1 specification (RFC 7208) -L<>, L<> +L<> =back diff --git a/lib/Mail/SPF/ b/lib/Mail/SPF/ index 8c360a5..7428263 100644 --- a/lib/Mail/SPF/ +++ b/lib/Mail/SPF/ @@ -43,7 +43,7 @@ use constant query_rr_type_txt => 1; use constant query_rr_type_spf => 2; use constant default_default_authority_explanation => - 'Please see{_scope};id=%{S};ip=%{C};r=%{R}'; + 'Rejected by SPF record'; sub default_query_rr_types { shift->query_rr_type_txt }; @@ -102,7 +102,7 @@ A I<string> denoting the default (not macro-expanded) authority explanation string to use if the authority domain does not specify an explanation string of its own. Defaults to: - 'Please see{_scope};id=%{S};ip=%{C};r=%{R}' + 'Rejected by SPF record' As can be seen from the default, a non-standard C<_scope> pseudo macro is supported that expands to the name of the identity's scope. (Note: Do I<not> diff --git a/sbin/spfd b/sbin/spfd index 620398a..b300b30 100755 --- a/sbin/spfd +++ b/sbin/spfd @@ -35,7 +35,7 @@ B<spfd> B<--help> B<spfd> is a simple forking Sender Policy Framework (SPF) query server. spfd receives and answers SPF requests on a TCP/IP or UNIX domain socket. For more -information on SPF see L<>. +information on SPF see L<>. The B<--port> form listens on a TCP/IP socket on the specified I<port>. The default port is B<5970>. @@ -200,8 +200,7 @@ breaks added for clarity): result=fail Sender is not authorized by default to use '' in 'mfrom' identity (mechanism '-all' matched) - authority_explanation=Please see - + authority_explanation=Rejected by SPF record received_spf_header=Received-SPF: fail ( Sender is not authorized by default to use '' in 'mfrom' identity (mechanism '-all' matched)) receiver=localhost; identity=mfrom;

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to