Re: spamassassin lint warnings

2008-04-02 Thread Rodney Green
Thanks Mike. However, I'm getting the same warnings for a majority of
the .cf files in /var/lib/spamassassin/3.002004 and
/etc/mail/spamassassin, not just the two files referenced in my
original e-mail.

Rod

On Tue, Apr 1, 2008 at 9:07 PM, Michael Hutchinson
[EMAIL PROTECTED] wrote:

  -Original Message-
   From: Rod G [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, 2 April 2008 1:26 a.m.
   To: users@spamassassin.apache.org
   Subject: spamassassin lint warnings
  
   Hello. I'm running SA 3.2.4. When I run spamassassin --lint -D I get
   a bunch of warnings like those below. I'm seeing the same two warnings
   for many of the files in /var/lib/spamassassin/3.002004 and
   /etc/mail/spamassassin. Any ideas on how to fix these? Thanks!
  
  
   [32690] warn: my variable $l masks earlier declaration in same scope
   at /var/lib/spamassassin/3.002004/updates_spamassassin_
   org/72_active.cf, rule __DOS_I_AM_25, line 14.
   [32690] warn: Global symbol $scoresptr requires explicit package
   name at /var/lib/spamassassin/3.002004/updates_spamassassin
   _org/20_advance_fee.cf, rule __FRAUD_NRG, line 12.

  Hi There,

  Turns out I pull the same rule updates and these files are included.
  (20_advance_fee.cf and 72_active.cf)
  I looked through my files, and could not find reference to the errors
  you're getting - I wonder if your install of S.A is sane - have you
  upgraded S.A recently?

  Then again, I am on version 3.1.7 so that may be why I don't see the
  exact same file.

  Perhaps you could try deleting those two files, and re-running sa-update
  to pull them down, and then try linting again?

  Cheers,
  Mike






-- 
The Internet is a telephone system that's gotten uppity.
- Clifford Stoll


RE: spamassassin lint warnings

2008-04-02 Thread Michael Hutchinson
 -Original Message-
 From: Rodney Green [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 3 April 2008 12:35 a.m.
 To: users@spamassassin.apache.org
 Subject: Re: spamassassin lint warnings
 
 Thanks Mike. However, I'm getting the same warnings for a majority of
 the .cf files in /var/lib/spamassassin/3.002004 and
 /etc/mail/spamassassin, not just the two files referenced in my
 original e-mail.
 
 Rod

Hello, Rod

Sorry I seem to have missed the part before about your
/etc/mail/spamassassin files doing it as well, I was originally thinking
something went wrong with your updating system. But no, if your original
SA files are doing it too, something else is afoot.

Unfortunately, I don't know what. 

I would start questioning S.A's dependencies, ie: Perl modules. I had a
lot of problems when I was installing these via CPAN, and had to go get
the packages and install them manually. It might be worth checking the
dependency requirements of S.A for Perl modules, and making sure you're
up-to-date. 

It might also be a broader issue with Perl itself, although that is a
lot less likely. Are you running the required version of Perl for the
S.A version you are running? 

Hopefully someone with better experience than I have in this will pickup
the discussion and help too ;)

Cheers,
Mike



RE: spamassassin lint warnings

2008-04-01 Thread Michael Hutchinson
 -Original Message-
 From: Rod G [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 2 April 2008 1:26 a.m.
 To: users@spamassassin.apache.org
 Subject: spamassassin lint warnings
 
 Hello. I'm running SA 3.2.4. When I run spamassassin --lint -D I get
 a bunch of warnings like those below. I'm seeing the same two warnings
 for many of the files in /var/lib/spamassassin/3.002004 and
 /etc/mail/spamassassin. Any ideas on how to fix these? Thanks!
 
 
 [32690] warn: my variable $l masks earlier declaration in same scope
 at /var/lib/spamassassin/3.002004/updates_spamassassin_
 org/72_active.cf, rule __DOS_I_AM_25, line 14.
 [32690] warn: Global symbol $scoresptr requires explicit package
 name at /var/lib/spamassassin/3.002004/updates_spamassassin
 _org/20_advance_fee.cf, rule __FRAUD_NRG, line 12.

Hi There,

Turns out I pull the same rule updates and these files are included.
(20_advance_fee.cf and 72_active.cf)
I looked through my files, and could not find reference to the errors
you're getting - I wonder if your install of S.A is sane - have you
upgraded S.A recently?

Then again, I am on version 3.1.7 so that may be why I don't see the
exact same file.

Perhaps you could try deleting those two files, and re-running sa-update
to pull them down, and then try linting again?

Cheers,
Mike