Subject: prerequisite packages for spamassassin 3.1.0
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.nov.fuenf@onlinehome.de>
List: tech-pkg
Date: 11/14/2005 21:45:01
Hi,

some people noticed that running spamassassin-3.1.0 produces messages
like this

  Nov 14 21:04:08 spamd[1455]: Can't locate Mail/SPF/Query.pm in
  @INC (@INC contains: ../lib /usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-netbsd
  /usr/pkg/lib/perl5/vendor_perl/5.8.0
  /usr/pkg/lib/perl5/site_perl/5.8.0/i386-netbsd
  /usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/5.8.0/i386-netbsd
  /usr/pkg/lib/perl5/5.8.0) at
  /usr/pkg/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Plugin/SPF.pm line 272.

in their log files.

This message appears because the SPF plugin is enabled (see
/usr/pkg/etc/spamassassin/*.pre) but the package required by the
plugin is not installed (it's not listed as a required prerequisite for
spamassassin). If not for license reasons there would have been other
plugins enabled as well (DCC, Razor2) by the default installation.

SA works despite the warnings (anticipated and handled by code in the
plugins) but they can be a bit confusing.

Should I disable the SPF plugin, deviating from the way SA installs
usually?
Should I include p5-Mail-SPF-Query in the requirements?
Or leave everything as it is now?

ciao
     Klaus