Subject: | Mail::SPF::Server does not catch Net::DNS error for invalid records |
Mail::SPF::Server does not catch Net::DNS errors for some invalid records. Net::DNS croaks with "empty domain label at [...]/Net/DNS/Question.pm line 80" for a SPF record like "a:.example.com ~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.