Bug 7746 - Mail::SPF returns apparently defunct explanation URL for SPF failures
Summary: Mail::SPF returns apparently defunct explanation URL for SPF failures
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2019-08-23 18:12 UTC by John Hardin
Modified: 2019-08-23 18:23 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description John Hardin 2019-08-23 18:12:59 UTC
When SPF fails, the generated SA rule hit header contains a URL for explaining the rejection, for example:

SPF_FAIL SPF: sender does not match SPF record (fail)
    *      [SPF failed: Please see

The openspf.net (and openspf.org) websites appear to be having long-term reachability issues and may be defunct, so this URL isn't currently very useful.

If openspf.net *is* defunct, we should provide an analysis URL that works, or not provide it at all.

The URL is currently the default as provided by Mail::SPF (which is fairly old now). It is possible to override it - see https://metacpan.org/pod/Mail::SPF::Server

An upstream bug should probably be filed with CPAN to get the default fixed, but that doesn't help current SA installs, so we should probably override anyway.