You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Brian Kendig <br...@enchanter.net> on 2004/12/19 16:48:07 UTC

"uninitialized value" and other errors with SA 3.0.2

I'm getting errors when I try to use SpamAssassin 3.0.2 (and the same 
errors with 3.0.1), on Mac OS X 10.3.7.  Specifically, when I call it 
from a command line with no arguments (same as if I give it "-t < 
sample-spam.txt"):

$ spamassassin
Global symbol "$re_strict" requires explicit package name at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 1224.
Global symbol "$re_loose" requires explicit package name at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 1224.
Global symbol "$re_strict" requires explicit package name at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 1229.
Global symbol "$re_loose" requires explicit package name at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 1229.
BEGIN not safe after errors--compilation aborted at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 2608.
Compilation failed in require at 
///Library/Perl/5.8.1/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at 
///Library/Perl/5.8.1/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/bin/spamassassin line 69.

And when I call it from my Exim 4.43 mail server through SA-Exim, these 
errors appear in my mail.log:

spamd[16237]: connection from localhost [127.0.0.1] at port 54762
spamd[16245]: processing message 
<84...@mac.com> for exim:-2.
spamd[16245]: Use of uninitialized value in concatenation (.) or string 
at ///Library/Perl/5.8.1/Mail/SpamAssassin/NoMailAudit.pm line 184.
spamd[16245]: Use of uninitialized value in pattern match (m//) at 
///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 875.
spamd[16245]: clean message (0.0/5.0) for exim:-2 in 4.4 seconds, 1058 
bytes.

SpamAssassin 2.64 works just fine.

Is this a bug in SpamAssassin 3.0.2, or am I doing something wrong on 
my end?


Re: "uninitialized value" and other errors with SA 3.0.2

Posted by Theo Van Dinter <fe...@kluge.net>.
On Sun, Dec 19, 2004 at 10:48:07AM -0500, Brian Kendig wrote:
> And when I call it from my Exim 4.43 mail server through SA-Exim, these 
> errors appear in my mail.log:
> 
> spamd[16237]: connection from localhost [127.0.0.1] at port 54762
> spamd[16245]: processing message 
> <84...@mac.com> for exim:-2.
> spamd[16245]: Use of uninitialized value in concatenation (.) or string 
> at ///Library/Perl/5.8.1/Mail/SpamAssassin/NoMailAudit.pm line 184.
> spamd[16245]: Use of uninitialized value in pattern match (m//) at 
> ///Library/Perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 875.
> spamd[16245]: clean message (0.0/5.0) for exim:-2 in 4.4 seconds, 1058 
> bytes.

http://wiki.apache.org/spamassassin/CantLocateNoMailAudit

In short, you have (and are trying to use) old modules.  NoMailAudit
doesn't exist in v3.

-- 
Randomly Generated Tagline:
My superiority complex is better than yours!