Error on parser.pm

Use this forum for discussions about SpamAssassin and anti-spam in general.
Post Reply
keysteal
Normal user
Normal user
Posts: 91
Joined: 2011-03-25 00:18

Error on parser.pm

Post by keysteal » 2018-02-15 09:00

Hi,

I am trying to use Bayes with spamassassin, now it seems stop to learn, and
when I use a command as "sa-learn --dump magic", or "sa-learn --sync", or other sa-learn commands,
it appears this error:
"Use of uninitialized value $_[1] in hash element at Mail/SpamAssassin/Conf/Parser.pm line 571."

Line 571 is this:
" } "
inside these lines.
" elsif ($type == $Mail::SpamAssassin::Conf::CONF_TYPE_ADDRLIST) {
$cmd->{code} = \&set_addrlist_value;
}" <--- line 571

I'm not a perl programmer, so I need help to understand what is wrong.
Thanks.

p.s.: this is the Jam Software Spamassassin version for Windows

User avatar
jimimaseye
Moderator
Moderator
Posts: 8131
Joined: 2011-09-08 17:48

Re: Error on parser.pm

Post by jimimaseye » 2018-02-15 09:34

Although we help a little with spamassassin (based on user experience) its mainly about implementing and integrating with Hmailserver.

For more focused detailed help on spamassassin functionality and problems you are better off approaching the spamassassin maillist https://wiki.apache.org/spamassassin/MailingLists - people will answer you there and there is a lot of techniocal help offered.

(You are likely to find that parser.pm has already been discussed)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

Post Reply