Skip Menu |

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

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

Owner: Nobody in particular
Requestors: freebsd [...]

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

Subject: [PATCH] spf: lookup failed: Can't locate object method "qualifier_pattern" via package
Date: Wed, 14 Aug 2019 16:38:31 +0200
To: bug-Mail-SPF [...]
From: Michael Gmelin <freebsd [...]>
Download (untitled) / with headers
text/plain 994b
Hi, When using spampd I sometimes get error messages like these: spf: lookup failed: Can't locate object method "qualifier_pattern" via package "Mail::SPF::Mech" at /usr/local/lib/perl5/site_perl/Mail/SPF/ line 213. This is a fairly old problem with a proposed fix by jmehnle back in 2008[0]. Applying the patch below fixes the issue for me: --- lib/Mail/SPF/ 2018-04-22 04:07:19.000000000 +0000 +++ lib/Mail/SPF/ 2019-08-14 13:23:26.324884000 +0000 @@ -206,6 +206,7 @@ sub parse_term { my ($self) = @_; + require Mail::SPF::Mech; if ( $self->{parse_text} =~ s/ ^ I also opened an issue in FreeBSD's bugtracker to patch the port until a solution is adopted upstream[1]. Thanks, Michael [0] [1] -- Michael Gmelin

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

Please report any issues with to