On Mon, Dec 26, 2022 at 01:57:20PM -0500, Philippe Chaintreuil via users wrote:
> On 12/25/2022 4:38 PM, Sidney Markowitz wrote:
> > I can get exactly that set of error messages by commenting out the
> > loadplugin for URIDNSBL in rules/init.pre or deleting the file
> > rules/init.pre completely, and running make test with the default
> > setting of run_net_tests=n in t/config.dist. If I change it to
> > run_net_tests=y then the test t/uribl.t also fails where it tries to use
> > check_uridnsbl
> 
> Gentoo disables all plugins in init.pre so users have to choose which
> plugins to use and do any required configuration after install.

As mentioned on bug:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8095

It's completely baffling why and how Gentoo does this.  It only disables
loadplugins in init.pre, and not other *.pre files.  This is already a bug
in itself by not being consistent.

I even installed Gentoo to check what the fuss is about.  There is no
mention from installer or wiki that users need to go enable plugins in
/etc/mail/spamassassin/*.pre files, which are almost universally used by
default on every other distribution.

The workaround for Gentoo installer is NOT TO MODIFY SUCH SOURCE FILES
DIRECTLY.  If you want to confuse users with non-standard defaults, pretty
sure you can figure out how to modify the files without touching the
originals, which the test system makes use of.  :-)

Reply via email to