Mailing List Archive

DMARC plugin issue
Hello, I would like to ask about the following error that we have:

plugin: eval failed: Can't locate object method "rule_ready" via package
"Mail::SpamAssassin::PerMsgStatus" at
/usr/local/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 135.

The plugin configuration in the /etc/mail/spamassassin/v400.pre file is
as follows

loadplugin Mail::SpamAssassin::Plugin::DMARC

ifplugin Mail::SpamAssassin::Plugin::DMARC
header DMARC_PASS eval:check_dmarc_pass()
describe DMARC_PASS DMARC pass policy
tflags DMARC_PASS net nice
score DMARC_PASS -2.000

header DMARC_REJECT eval:check_dmarc_reject()
describe DMARC_REJECT DMARC reject policy
tflags DMARC_REJECT net
score DMARC_REJECT 15.000

header DMARC_QUAR eval:check_dmarc_quarantine()
describe DMARC_QUAR DMARC quarantine policy
tflags DMARC_QUAR net
score DMARC_QUAR 5.000

header DMARC_NONE eval:check_dmarc_none()
describe DMARC_NONE DMARC none policy
tflags DMARC_NONE net
score DMARC_NONE 0.001

header DMARC_MISSING eval:check_dmarc_missing()
describe DMARC_MISSING Missing DMARC policy
tflags DMARC_MISSING net
score DMARC_MISSING 0.001
endif

These are some details of the versions and the operating system:

$ spamd --version
SpamAssassin Server version 4.0.0
running on Perl 5.16.3
with SSL support (IO::Socket::SSL 1.94)
with zlib support (Compress::Zlib 2.061)

CentOS Linux 7 (Core)
Python 2.7.5
Perl v5.16.3
Re: DMARC plugin issue [ In reply to ]
entregabilidad@donweb.com skrev den 2023-01-13 18:42:
> Hello, I would like to ask about the following error that we have:
>
> plugin: eval failed: Can't locate object method "rule_ready" via
> package "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 135.

> $ spamd --version
> SpamAssassin Server version 4.0.0
> running on Perl 5.16.3
> with SSL support (IO::Socket::SSL 1.94)
> with zlib support (Compress::Zlib 2.061)
>
> CentOS Linux 7 (Core)
> Python 2.7.5
> Perl v5.16.3

i think you miss Mail::DMARC perl module installed

in case of proff:

spamassassin -D --lint 2>&1 | less

press s and share this here
Re: DMARC plugin issue [ In reply to ]
Thank you very much for your reply

I see that it is supposedly installed:

$ spamassassin -D --lint 2>&1 | grep -i DMARC
Jan 13 15:09:06.474 [30801] dbg: diag: [...] optional module installed:
Mail::DMARC, version 1.20211209

These are the requested data:

$ spamassassin -D --lint 2>&1
Jan 13 15:07:41.444 [30318] dbg: logger: adding facilities: all
Jan 13 15:07:41.444 [30318] dbg: logger: logging level is DBG
Jan 13 15:07:41.444 [30318] dbg: generic: SpamAssassin version 4.0.0
Jan 13 15:07:41.444 [30318] dbg: generic: Perl 5.016003,
PREFIX=/usr/local, DEF_RULES_DIR=/usr/local/share/spamassassin,
LOCAL_RULES_DIR=/etc/mail/spamassassin,
LOCAL_STATE_DIR=/var/lib/spamassassin
Jan 13 15:07:41.444 [30318] dbg: config: timing enabled
Jan 13 15:07:41.444 [30318] dbg: config: score set 0 chosen.
Jan 13 15:07:41.445 [30318] dbg: util: running in taint mode? yes
Jan 13 15:07:41.445 [30318] dbg: util: taint mode: deleting unsafe
environment variables, resetting PATH
Jan 13 15:07:41.445 [30318] dbg: util: PATH included '/usr/local/sbin',
keeping
Jan 13 15:07:41.445 [30318] dbg: util: PATH included '/usr/local/bin',
keeping
Jan 13 15:07:41.445 [30318] dbg: util: PATH included '/usr/sbin',
keeping
Jan 13 15:07:41.445 [30318] dbg: util: PATH included '/usr/bin', keeping

Jan 13 15:07:41.445 [30318] dbg: util: PATH included
'/root/.wp-cli/bin', keeping
Jan 13 15:07:41.445 [30318] dbg: util: final PATH set to:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/.wp-cli/bin
Jan 13 15:07:41.616 [30318] dbg: diag: perl platform: 5.016003 linux
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed:
Digest::SHA, version 5.85
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed:
HTML::Parser, version 3.71
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed: Net::DNS,
version 0.72
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed:
NetAddr::IP, version 4.069
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed:
Time::HiRes, version 1.9725
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed:
Archive::Tar, version 1.92
Jan 13 15:07:41.616 [30318] dbg: diag: [...] module installed: IO::Zlib,
version 1.10
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Digest::SHA1, version 2.13
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
MIME::Base64, version 3.13
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
DB_File, version 1.83
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Net::SMTP, version 3.14
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: Net::LibIDN2 ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Net::LibIDN, version 0.12
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Mail::SPF, version v2.008
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: MaxMind::DB::Reader ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: MaxMind::DB::Reader::XS ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Geo::IP, version 1.43
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: IP::Country::DB_File ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: IP::Country::Fast ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Razor2::Client::Agent, version 2.86
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
IO::Socket::IP, version 0.21
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
IO::Socket::INET6, version 2.69
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
IO::Socket::SSL, version 1.94
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Compress::Zlib, version 2.061
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Mail::DKIM, version 0.39
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
DBI, version 1.627
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
DBD::SQLite, version 1.72
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
LWP::UserAgent, version 6.05
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Encode::Detect::Detector, version 1.01
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Net::Patricia, version 1.22
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Net::CIDR::Lite, version 0.22
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Net::DNS::Nameserver, version 1096
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: BSD::Resource ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: Archive::Zip ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module not
installed: IO::String ('require' failed)
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Email::Address::XS, version 1.05
Jan 13 15:07:41.616 [30318] dbg: diag: [...] optional module installed:
Mail::DMARC, version 1.20211209
Jan 13 15:07:41.617 [30318] dbg: ignore: using a test message to lint
rules
Jan 13 15:07:41.617 [30318] dbg: config: global_state_dir set to
/root/.spamassassin
Jan 13 15:07:41.617 [30318] dbg: config: using "/etc/mail/spamassassin"
for site rules pre files
Jan 13 15:07:41.617 [30318] dbg: config: read file
/etc/mail/spamassassin/init.pre
Jan 13 15:07:41.617 [30318] dbg: config: read file
/etc/mail/spamassassin/v310.pre
Jan 13 15:07:41.617 [30318] dbg: config: read file
/etc/mail/spamassassin/v312.pre
Jan 13 15:07:41.617 [30318] dbg: config: read file
/etc/mail/spamassassin/v320.pre
Jan 13 15:07:41.617 [30318] dbg: config: read file
/etc/mail/spamassassin/v330.pre
Jan 13 15:07:41.618 [30318] dbg: config: read file
/etc/mail/spamassassin/v340.pre
Jan 13 15:07:41.618 [30318] dbg: config: read file
/etc/mail/spamassassin/v341.pre
Jan 13 15:07:41.618 [30318] dbg: config: read file
/etc/mail/spamassassin/v342.pre
Jan 13 15:07:41.618 [30318] dbg: config: read file
/etc/mail/spamassassin/v343.pre
Jan 13 15:07:41.618 [30318] dbg: config: read file
/etc/mail/spamassassin/v400.pre
Jan 13 15:07:41.618 [30318] dbg: config: using
"/usr/local/share/spamassassin" for sys rules pre files
Jan 13 15:07:41.618 [30318] dbg: config: using
"/usr/local/share/spamassassin" for default rules dir
config: no rules were found! Do you need to run 'sa-update'?

El 2023-01-13 14:57, Benny Pedersen escribió:

> entregabilidad@donweb.com skrev den 2023-01-13 18:42:
>
>> Hello, I would like to ask about the following error that we have:
>>
>> plugin: eval failed: Can't locate object method "rule_ready" via
>> package "Mail::SpamAssassin::PerMsgStatus" at
>> /usr/local/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 135.
>
>> $ spamd --version
>> SpamAssassin Server version 4.0.0
>> running on Perl 5.16.3
>> with SSL support (IO::Socket::SSL 1.94)
>> with zlib support (Compress::Zlib 2.061)
>>
>> CentOS Linux 7 (Core)
>> Python 2.7.5
>> Perl v5.16.3
>
> i think you miss Mail::DMARC perl module installed
>
> in case of proff:
>
> spamassassin -D --lint 2>&1 | less
>
> press s and share this here
Re: DMARC plugin issue [ In reply to ]
On Fri, Jan 13, 2023 at 02:42:51PM -0300, entregabilidad@donweb.com wrote:
> Hello, I would like to ask about the following error that we have:
>
> plugin: eval failed: Can't locate object method "rule_ready" via package
> "Mail::SpamAssassin::PerMsgStatus" at /usr/local/share/perl5/Mail/SpamAssassin/
> Plugin/DMARC.pm line 135.

Are you sure it's the DMARC.pm that can came with SA 4.0.0 release, not some
old different version?
Re: DMARC plugin issue [ In reply to ]
entregabilidad@donweb.com skrev den 2023-01-13 19:15:
> Thank you very much for your reply
>
> I see that it is supposedly installed:
>
> $ spamassassin -D --lint 2>&1 | grep -i DMARC
> Jan 13 15:09:06.474 [30801] dbg: diag: [...] optional module
> installed: Mail::DMARC, version 1.20211209
>
> These are the requested data:

> config: no rules were found! Do you need to run 'sa-update'?

try it ?
Re: DMARC plugin issue [ In reply to ]
Henrik K skrev den 2023-01-13 19:20:
> On Fri, Jan 13, 2023 at 02:42:51PM -0300, entregabilidad@donweb.com
> wrote:
>> Hello, I would like to ask about the following error that we have:
>>
>> plugin: eval failed: Can't locate object method "rule_ready" via
>> package
>> "Mail::SpamAssassin::PerMsgStatus" at
>> /usr/local/share/perl5/Mail/SpamAssassin/
>> Plugin/DMARC.pm line 135.
>
> Are you sure it's the DMARC.pm that can came with SA 4.0.0 release, not
> some
> old different version?

is this old version of perl still supported ?

in that case its a spamassassin bug if not

in gentoo:

Jan 13 19:40:13.130 [15820] dbg: diag: perl platform: 5.036000 linux
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed:
Digest::SHA, version 6.02
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed:
HTML::Parser, version 3.76
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed: Net::DNS,
version 1.34
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed:
NetAddr::IP, version 4.079
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed:
Time::HiRes, version 1.977
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed:
Archive::Tar, version 2.40
Jan 13 19:40:13.130 [15820] dbg: diag: [...] module installed: IO::Zlib,
version 1.11
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Digest::SHA1, version 2.13
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
MIME::Base64, version 3.16
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
DB_File, version 1.857
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Net::SMTP, version 3.14
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Net::LibIDN2, version 1.01
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module not
installed: Net::LibIDN ('require' failed)
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Mail::SPF, version v2.009
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
MaxMind::DB::Reader, version 1.000014
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module not
installed: MaxMind::DB::Reader::XS ('require' failed)
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Geo::IP, version 1.51
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IP::Country::DB_File, version 3.03
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IP::Country::Fast, version 604.001
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module not
installed: Razor2::Client::Agent ('require' failed)
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IO::Socket::IP, version 0.41
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IO::Socket::INET6, version 2.72
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IO::Socket::SSL, version 2.074
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Compress::Zlib, version 2.106
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Mail::DKIM, version 1.20200907
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
DBI, version 1.643
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
DBD::SQLite, version 1.72
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
LWP::UserAgent, version 6.60
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Encode::Detect::Detector, version 1.01
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Net::Patricia, version 1.22
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Net::CIDR::Lite, version 0.22
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Net::DNS::Nameserver, version 1860
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
BSD::Resource, version 1.2911
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Archive::Zip, version 1.68
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
IO::String, version 1.08
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Email::Address::XS, version 1.05
Jan 13 19:40:13.130 [15820] dbg: diag: [...] optional module installed:
Mail::DMARC, version 1.20210927
Re: DMARC plugin issue [ In reply to ]
The version that is supported ships with 4.0.0.

On 1/13/2023 1:43 PM, Benny Pedersen wrote:
> is this old version of perl still supported ?
>
> in that case its a spamassassin bug if not

--
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171
Re: DMARC plugin issue [ In reply to ]
Kevin A. McGrail skrev den 2023-01-13 22:03:
> The version that is supported ships with 4.0.0.

perl module is not perl version, centos use old perl --version, no ?

Mail::DMARC works on gentoo

thansk for TOP posting btw. lol
Re: DMARC plugin issue [ In reply to ]
I'm referring to the DMARC plug in
./lib/Mail/SpamAssassin/Plugin/DMARC.pm not the perl language modules
necessary to use that plugin.

On 1/13/2023 4:31 PM, Benny Pedersen wrote:
> Kevin A. McGrail skrev den 2023-01-13 22:03:
>> The version that is supported ships with 4.0.0.
>
> perl module is not perl version, centos use old perl --version, no ?
>
> Mail::DMARC works on gentoo
>
> thansk for TOP posting btw. lol

--
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171
Re: DMARC plugin issue [ In reply to ]
Kevin A. McGrail skrev den 2023-01-14 00:25:
> I'm referring to the DMARC plug in
> ./lib/Mail/SpamAssassin/Plugin/DMARC.pm not the perl language modules
> necessary to use that plugin.

and if that mudule fails its not always spamassassin faults, but its the
messenger atleast some dependice is failing, whaeter this is failing
just on old perl --version is another knowledge to find

back to the OP, could you upgrade from centos7 to centos8 ?, if so
notify the package mainters this solved it, if its indeed still a
spamassassin depenccy bug i hope pmc members will like to know where

kam if you did not know it, DMARC.pm module works in 3.4.6 spamassassin
aswell so if it breaks in 4.0.0 happy sunday then
Re: DMARC plugin issue [ In reply to ]
We are using the plugin on CentOS 7 systems with 4.0.0.

What is the steps to recreate the original bug posters issue?

On Fri, Jan 13, 2023, 20:42 Benny Pedersen <me@junc.eu> wrote:

> Kevin A. McGrail skrev den 2023-01-14 00:25:
> > I'm referring to the DMARC plug in
> > ./lib/Mail/SpamAssassin/Plugin/DMARC.pm not the perl language modules
> > necessary to use that plugin.
>
> and if that mudule fails its not always spamassassin faults, but its the
> messenger atleast some dependice is failing, whaeter this is failing
> just on old perl --version is another knowledge to find
>
> back to the OP, could you upgrade from centos7 to centos8 ?, if so
> notify the package mainters this solved it, if its indeed still a
> spamassassin depenccy bug i hope pmc members will like to know where
>
> kam if you did not know it, DMARC.pm module works in 3.4.6 spamassassin
> aswell so if it breaks in 4.0.0 happy sunday then
>
>
Re: DMARC plugin issue [ In reply to ]
Kevin A. McGrail skrev den 2023-01-14 02:48:
> We are using the plugin on CentOS 7 systems with 4.0.0.
>
> What is the steps to recreate the original bug posters issue?

plugin: eval failed: Can't locate object method "rule_ready" via package
"Mail::SpamAssassin::PerMsgStatus" at
/usr/local/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 135.
Re: DMARC plugin issue [ In reply to ]
Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0 DMARC
plugin.  No idea how the system is in that state.

On 1/13/2023 8:56 PM, Benny Pedersen wrote:
> Kevin A. McGrail skrev den 2023-01-14 02:48:
>> We are using the plugin on CentOS 7 systems with 4.0.0.
>>
>> What is the steps to recreate the original bug posters issue?
>
> plugin: eval failed: Can't locate object method "rule_ready" via
> package "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl5/Mail/SpamAssassin/Plugin/DMARC.pm line 135.

--
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171
Re: DMARC plugin issue [ In reply to ]
On 2023-01-13 at 23:16:43 UTC-0500 (Fri, 13 Jan 2023 23:16:43 -0500)
Kevin A. McGrail <kmcgrail@apache.org>
is rumored to have said:

> Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0 DMARC
> plugin.  No idea how the system is in that state.
>

Not sure where the idea of that combo comes from, but the OP's 2nd
message in the thread made it clear that he needed to run sa-update to
get some rules.

I think that without any rules it is absolutely normal for there to be
no 'rule_ready' object method but I have not ever fully understood that
code...


--
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: DMARC plugin issue [ In reply to ]
On 1/14/2023 5:02 PM, Bill Cole wrote:
> On 2023-01-13 at 23:16:43 UTC-0500 (Fri, 13 Jan 2023 23:16:43 -0500)
> Kevin A. McGrail <kmcgrail@apache.org>
> is rumored to have said:
>
>> Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0 DMARC
>> plugin.  No idea how the system is in that state.
>>
>
> Not sure where the idea of that combo comes from, but the OP's 2nd
> message in the thread made it clear that he needed to run sa-update to
> get some rules.
>
> I think that without any rules it is absolutely normal for there to be
> no 'rule_ready' object method but I have not ever fully understood
> that code...

+1, thanks for that insight.

Unsure if there is an issue here then.  Will wait for the Original
Poster to weigh in.

--
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171
Re: DMARC plugin issue [ In reply to ]
This is the response of the sa-update command:

$ sa-update -v
Update available for channel updates.spamassassin.org: 1906706 ->
1906791
http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz,
success
http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz.asc,
success
Update was available, and was downloaded and installed successfully

But the problem persists.

El 2023-01-14 19:28, Kevin A. McGrail escribió:

> On 1/14/2023 5:02 PM, Bill Cole wrote: On 2023-01-13 at 23:16:43 UTC-0500 (Fri, 13 Jan 2023 23:16:43 -0500)
> Kevin A. McGrail <kmcgrail@apache.org>
> is rumored to have said:
>
> Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0 DMARC plugin. No idea how the system is in that state.
>
> Not sure where the idea of that combo comes from, but the OP's 2nd message in the thread made it clear that he needed to run sa-update to get some rules.
>
> I think that without any rules it is absolutely normal for there to be no 'rule_ready' object method but I have not ever fully understood that code...

+1, thanks for that insight.

Unsure if there is an issue here then. Will wait for the Original
Poster to weigh in.
Re: DMARC plugin issue [ In reply to ]
entregabilidad@donweb.com skrev den 2023-01-20 13:54:
> This is the response of the sa-update command:
>
> $ sa-update -v
> Update available for channel updates.spamassassin.org: 1906706 ->
> 1906791
> http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz,
> success
> http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz.asc,
> success
> Update was available, and was downloaded and installed successfully
>
> But the problem persists.

rule updates does not contain perl modules

>>
>> Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0
>> DMARC plugin. No idea how the system is in that state.
>>
>> Not sure where the idea of that combo comes from, but the OP's 2nd
>> message in the thread made it clear that he needed to run sa-update
>> to get some rules.
>>
>> I think that without any rules it is absolutely normal for there to
>> be no 'rule_ready' object method but I have not ever fully
>> understood that code...

with no sa-update this is not rule_ready here, so i think the problem is
that maintainer of your install have got another tarball that have the
problem, make a ticket for this on the os you use

>
> +1, thanks for that insight.
>
> Unsure if there is an issue here then. Will wait for the Original
> Poster to weigh in.
Re: DMARC plugin issue [ In reply to ]
How did you install SpamAssassin 4.0.0 on your system because your error is
a bit baffling to me?

--
Kevin A. McGrail
Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171


On Fri, Jan 20, 2023 at 7:54 AM <entregabilidad@donweb.com> wrote:

> This is the response of the sa-update command:
>
> $ sa-update -v
> Update available for channel updates.spamassassin.org: 1906706 -> 1906791
> http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz, success
> http: (curl) GET http://sa-update.spamassassin.org/1906791.tar.gz.asc,
> success
> Update was available, and was downloaded and installed successfully
>
> But the problem persists.
>
>
> El 2023-01-14 19:28, Kevin A. McGrail escribió:
>
>
> On 1/14/2023 5:02 PM, Bill Cole wrote:
>
> On 2023-01-13 at 23:16:43 UTC-0500 (Fri, 13 Jan 2023 23:16:43 -0500)
> Kevin A. McGrail <kmcgrail@apache.org>
> is rumored to have said:
>
> Rule ready isn't in 3.4.x and that DMARC line is from the 4.0.0 DMARC
> plugin. No idea how the system is in that state.
>
>
> Not sure where the idea of that combo comes from, but the OP's 2nd message
> in the thread made it clear that he needed to run sa-update to get some
> rules.
>
> I think that without any rules it is absolutely normal for there to be no
> 'rule_ready' object method but I have not ever fully understood that code...
>
>
> +1, thanks for that insight.
>
> Unsure if there is an issue here then. Will wait for the Original Poster
> to weigh in.
>
>