On 12/26/2022 1:57 PM, Philippe Chaintreuil via users wrote:
Anyway to check at the top of the dnsbl_subtests.t if Mail::SpamAssassin::Plugin::URIDNSBL has been loaded or not to have it punt?

Just noticed how spf.t does this.

============================================================
use constant HAS_URIDNSBL => eval {
  require Mail::SpamAssassin::Plugin::URIDNSBL ;
};


plan skip_all => "Need Mail::SpamAssassin::Plugin::URIDNSBL in init.pre" unless HAS_URIDNSBL;
============================================================

Seem sane?

Reply via email to