Skip Menu | will be shut down on March 1st, 2021.

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

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

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

Bug Information
Severity: Normal
Broken in: v2.9.0
Fixed in: (no value)

Subject: Mail::SPF::Server does not catch Net::DNS error for invalid records
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-18798-1402878454-1006.0-0-0 [...]>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 386
Download (untitled) / with headers
text/plain 386b
Mail::SPF::Server does not catch Net::DNS errors for some invalid records. Net::DNS croaks with "empty domain label at [...]/Net/DNS/ line 80" for a SPF record like " ~all". Mail::SPF::Server does not catch this error when calling Net::DNS::Resolver->send on line 566. Eventually, this causes postfix-policyd-spf-perl to crash and postfix to throw a temp-error.

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

Please report any issues with to