spamassassin --lint error rules KAN.cf 25_replace.cf 70_HS_header.cf

Report bugs and workarounds
Post Reply
User avatar
mayconplanet
Posts: 5
Joined: 30 Sep 2016 01:31

spamassassin --lint error rules KAN.cf 25_replace.cf 70_HS_header.cf

Post by mayconplanet »

When running in the shell spamassassin --lint error occurs in the files - KAM.cf 25_replace.cf 70_HS_header.cf

Had EFA update?

My Version is : 3.0.1.5

Regards, mayconplanet in the Brazil ;)

logs:
Nov 25 15:56:04.461 [14839] warn: Global symbol "$hval" requires explicit package name at /etc/mail/spamassassin/KAM.cf, rule __JMQ_HEARINGLOSS2, line 1.
Nov 25 15:56:04.461 [14839] warn: Global symbol "$scoresptr" requires explicit package name at /etc/mail/spamassassin/KAM.cf, rule __JMQ_HEARINGLOSS2, line 8.
Nov 25 15:56:04.461 [14839] warn: Global symbol "$hval" requires explicit package name at /var/lib/spamassassin/3.004001/updates_spamassassin_org/25_replace.cf, rule SUBJECT_FUZZY_CHEAP, line 1.
Nov 25 15:56:04.461 [14839] warn: syntax error at /var/lib/spamassassin/3.004001/updates_spamassassin_org/25_replace.cf, rule SUBJECT_FUZZY_CHEAP, line 7, near "}
Nov 25 15:56:04.461 [14839] warn: }"
Nov 25 15:56:04.461 [14839] warn: /var/lib/spamassassin/3.004001/updates_spamassassin_org/25_replace.cf, rule SUBJECT_FUZZY_CHEAP, has too many errors.)
Nov 25 15:56:05.091 [14839] warn: lint: 1 issues detected, please rerun with debug enabled for more information
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: spamassassin --lint error rules KAN.cf 25_replace.cf 70_HS_header.cf

Post by shawniverson »

I'm not seeing this warnings on the latest KAM.cf update.

My KAM.cf:

Code: Select all

-rw-r--r--. 1 root root 289273 Nov 16 18:15 KAM.cf
MD5: 6a6b80ea4af79346d020055bdd83f064
User avatar
mayconplanet
Posts: 5
Joined: 30 Sep 2016 01:31

Re: spamassassin --lint error rules KAM.cf 25_replace.cf 70_HS_header.cf

Post by mayconplanet »

I updated using EFA-SA-Update -update

Before:
ll -l | grep KAM
-rw-r--r-- 1 root root 289416 Nov 25 17:01 KAM.cf

After EFA-SA-Update -update:
/usr/local/sbin/EFA-SA-Update -update
--2016-11-25 17:05:00-- https://www.pccc.com/downloads/SpamAssa ... rib/KAM.cf
Resolvendo www.pccc.com... 38.124.232.177
Conectando-se a www.pccc.com|38.124.232.177|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 289273 (282K) [text/plain]
Os tamanhos não coincidem (local 289416) -- baixando.

--2016-11-25 17:05:05-- https://www.pccc.com/downloads/SpamAssa ... rib/KAM.cf
Reaproveitando a conexão existente para www.pccc.com:443.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 289273 (282K) [text/plain]
Salvando em: “KAM.cf”

100%[========================================================================================================>] 289.273 275K/s em 1,0s

2016-11-25 17:05:06 (275 KB/s) - “KAM.cf” salvo [289273/289273]

It completed okay.


follow command results:
-rw-r--r-- 1 root root 289273 Nov 16 21:15 KAM.cf

After run spamassassin --lint:

Nov 25 17:16:25.462 [31994] warn: Global symbol "$scoresptr" requires explicit package name at /etc/mail/spamassassin/KAM.cf, rule __KAM_DETOX2, line 8.
Nov 25 17:16:25.463 [31994] warn: Global symbol "$hval" requires explicit package name at /etc/mail/spamassassin/KAM.cf, rule __JMQ_HEARINGLOSS2, line 1.
Nov 25 17:16:25.463 [31994] warn: Global symbol "$scoresptr" requires explicit package name at /etc/mail/spamassassin/KAM.cf, rule __JMQ_HEARINGLOSS2, line 8.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: spamassassin --lint error rules KAN.cf 25_replace.cf 70_HS_header.cf

Post by shawniverson »

That appears to be something up with a perl module that spamassassin is using.

Which build of EFA are you using? VMware? HyperV?

Did you upgrade from a prior version?
User avatar
mayconplanet
Posts: 5
Joined: 30 Sep 2016 01:31

Re: spamassassin --lint error rules KAN.cf 25_replace.cf 70_HS_header.cf

Post by mayconplanet »

Hello! My EFA on VMware! I did the backup restore
I do not know what could have caused the crash! Thank you for your support and congratulations to the EFA. My contribution will be deposited! :clap:
Post Reply