Hi all. 

 

I have been having issues with SA for a while, most of my requests for
help going unheard. I've managed to upgrade SA and fix most of the
errors, but am still getting a couple that I've not been able to fix
yet. Can someone please help with this ?

 

We are running Debian Sarge with SA 3.1.7 from backports.

Whenever I try to add new rules with sa-learn from our missed spam
folder, I get these errors. And, since I've tried to run them, I also
get these errors whenever I manually run spamd or Spamassassin:

 

mailserver:~# sa-learn --spam
/home/vpopmail/domains/mail.ourdomain.net/spam/Maildir/.Missed\
Spam.20080124/cur/

Bareword "MAX_URI_LENGTH" not allowed while "strict subs" in use at
/usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2010.

Bareword "MAX_URI_LENGTH" not allowed while "strict subs" in use at
/usr/share/perl5/Mail/SpamAssassin/PerMsgStatus.pm line 2012.

Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin.pm
line 72.

BEGIN failed--compilation aborted at
/usr/share/perl5/Mail/SpamAssassin.pm line 72.

Compilation failed in require at /usr/bin/sa-learn line 78.

BEGIN failed--compilation aborted at /usr/bin/sa-learn line 78.

 

I am used to getting similar sa-learn errors, but not ones that cause
problems when spamd or Spamassassin is manually run. Can anyone please
define what "strict subs" is used for and if I should disable it to
allow MAX_URI_LENGTH to work properly ?

 

Cheers,

Michael Hutchinson

<http://www.manux.co.nz>  

 

Reply via email to