Restarting a (new) thread from a few weeks back where I was trying to get KAM working on an older box. I couldn't get that to work and that was the impetus to upgrade.
I started a fresh server build to get KAM implemented. -AlmaLinux release 10.1 (Heliotrope Lion) -amavis-2.13.1 (20240304) -SpamAssassin version 4.0.1 - running on Perl version 5.40.2 This was not without some pain. I had to cpanm and build from source some missing perl modules that are not included in any AL10 dnf packages to get the base installs missing modules cleared. After that, I setup the KAM channel and ran into a problem: On AlmaLinux 10 (and presumably RHEL 10, Rocky 10, etc) the OVAL plugin is no longer included in the SpamAssassin 4.0.x packages. I presume due to Red Hat's deprecation of OVAL in favor of CSAF/VEX. (https://access.redhat.com/security/oval-v2-deprecation-announcement) AS a workaround to the KAM installation: 1. I had added to /etc/mail/spamassassin/v400.pre: loadplugin Mail::SpamAssassin::Plugin::OVAL /etc/mail/spamassassin/OVAL.pm 2. In order to clear the error I made a stub ruleset OVAL.pm (thanks to AI, hopefully it's OK): cat << 'EOF' > /etc/mail/spamassassin/OVAL.pm package Mail::SpamAssassin::Plugin::OVAL; use Mail::SpamAssassin::Plugin; our @ISA = qw(Mail::SpamAssassin::Plugin); sub new { my ($class, $mailsa) = @_; $class = ref($class) || $class; my $self = $class->SUPER::new($mailsa); bless ($self, $class); return $self; } 1; EOF Is there anything better I can do to resolve? Will what I did break something or cause the KAM scores to be bad for the OVAL dependent rules? Thanks, Scott
