RE: lint error on FuzzyOcr 3.5.0-rc1

2007-01-01 Thread Gary V

Jim Knuth wrote:


That was it! And now gets only:

spamassassin --lint Subroutine FuzzyOcr::O_NONBLOCK redefined at
/usr/share/perl/5.8/Exporter.pm line 65. at
/usr/lib/perl/5.8/POSIX.pm line 19

What is that still?


Chris wrote:


This is no FuzzyOcr problem but a perl core problem. Two core perl
modules export the same constant(s) (in this case O_NONBLOCK). You can
afely ignore this. Upgrading perl might remove this warning.


http://fuzzyocr.own-hero.net/ticket/16

I have some information that may be of use. I have installed
FuzzyOcr 3.5.0-rc1 on 2 Debian computers running Perl 5.8.4 and 2 running
5.8.8. One 5.8.4 and one 5.8.8 exhibited the error noted in the
ticket. After some experimentation it appears this may be related to
Net::Ident and not to the version of Perl.

# spamassassin -V
SpamAssassin version 3.1.7
 running on Perl version 5.8.4

# spamassassin --lint

# apt-get install libnet-ident-perl

# spamassassin --lint
Subroutine FuzzyOcr::O_NONBLOCK redefined at 
/usr/share/perl/5.8/Exporter.pm line 65.

at /usr/lib/perl/5.8/POSIX.pm line 19

# apt-get --purge remove libnet-ident-perl

# spamassassin --lint

It would be cool if it it's possible to fix this. I have scripts that rely 
on a clean --lint.




I think the answer for me is to remove it. It is listed with Debian as a 
suggested package and:


 module => 'Net::Ident',
 version => '0.00',
 desc => 'If you plan to use the --auth-ident option to spamd, you will 
need

 to install this module.',

I don't use spamd.

Gary V

_
From photos to predictions, The MSN Entertainment Guide to Golden Globes has 

it all. http://tv.msn.com/tv/globes2007/



Re: Lint error

2006-09-05 Thread Jim Knuth
Gestern (05.09.2006/22:47 Uhr) schrieb Theo Van Dinter,

> On Tue, Sep 05, 2006 at 10:41:19PM +0200, Jim Knuth wrote:
>> >> spamassassin --lint
>> >> [[6320] warn: dns: Net::DNS version is 0.12, but need 0.34 at
>> >> /usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 588.
>> >> 
>> >> perl -MNet::DNS -e'print "$Net::DNS::VERSION\n";'
>> >> 0.58

> You apparently have multiple Net::DNS versions installed, one in
> /usr/local/share/perl/[...] and another, probably, in /usr/lib/perl*/[...]

> If you look at the @INC path from "perl -V" and look in the dirs, you'll
> find them both -- remove the one you don't want. :)

> (to be faster, if you edit the installed spamassassin script and look at the
> line starting "use lib", you'll probably find the old Net::DNS under that
> directory)


thank you. It was solved. :)


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Die  Managerkrankheit  ist  eine  Epidemie,  die  durch  
den Uhrzeigerhervorgerufen  und  durch  den  Terminkalender 
 übertragen wird. (John Ernst Steinbeck)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1740 Build 7965  05.09.2006



Re: Lint error

2006-09-05 Thread Theo Van Dinter
On Tue, Sep 05, 2006 at 10:41:19PM +0200, Jim Knuth wrote:
> >> spamassassin --lint
> >> [[6320] warn: dns: Net::DNS version is 0.12, but need 0.34 at
> >> /usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 588.
> >> 
> >> perl -MNet::DNS -e'print "$Net::DNS::VERSION\n";'
> >> 0.58

You apparently have multiple Net::DNS versions installed, one in
/usr/local/share/perl/[...] and another, probably, in /usr/lib/perl*/[...]

If you look at the @INC path from "perl -V" and look in the dirs, you'll
find them both -- remove the one you don't want. :)

(to be faster, if you edit the installed spamassassin script and look at the
line starting "use lib", you'll probably find the old Net::DNS under that
directory)

-- 
Randomly Generated Tagline:
"I feel like such a free spirit, and I'm really enjoying this so-called
 Iced-Cream."- C. Montgomery Burns, the Simpsons


pgpaQWhsW2LqP.pgp
Description: PGP signature


Re: Lint error

2006-09-05 Thread Jim Knuth
Heute (05.09.2006/19:09 Uhr) schrieb Ralf Hildebrandt,

> * Jim Knuth <[EMAIL PROTECTED]>:
>> Hallo und Guten Abend spamassassin-users,
>> 
>> I`ve installed SA 3.1.5 on Debian Woody (Perl v5.6.1)
>> and see the following error:
>> 
>> --snip
>> spamassassin --lint
>> [[6320] warn: dns: Net::DNS version is 0.12, but need 0.34 at
>> /usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 588.
>> --snap
>> 
>> but
>> 
>> perl -MNet::DNS -e'print "$Net::DNS::VERSION\n";'
>> 0.58

> Do you have more than one Perl version installed?

I think no ;)

~# which perl
/usr/bin/perl


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Wer mit dem Finger auf andere zeigt, sollte nicht 
vergessen, daß dabei immer drei Finger seiner Hand auf ihn 
selbst gerichtet sind. (Sprüche der Deutschen Eisenbahn-
Reklame GmbH)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1740 Build 7965  05.09.2006



Re: Lint error

2006-09-05 Thread Ralf Hildebrandt
* Jim Knuth <[EMAIL PROTECTED]>:
> Hallo und Guten Abend spamassassin-users,
> 
> I`ve installed SA 3.1.5 on Debian Woody (Perl v5.6.1)
> and see the following error:
> 
> --snip
> spamassassin --lint
> [[6320] warn: dns: Net::DNS version is 0.12, but need 0.34 at
> /usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 588.
> --snap
> 
> but
> 
> perl -MNet::DNS -e'print "$Net::DNS::VERSION\n";'
> 0.58

Do you have more than one Perl version installed?

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums) [EMAIL PROTECTED]
Charite - Universitätsmedizin BerlinTel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-BerlinFax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to [EMAIL PROTECTED]


Re: Lint error

2006-06-05 Thread Benny Pedersen
> Heute (05.06.2006/16:18 Uhr) schrieb Benny Pedersen,
>>> Thank you. I`m so stupid. ;)  I`ve deleted (after update 3.1.1 =>
>>> 3.1.2) the v310.pre. I had only the v312.pre. Now works again.
>> try disable ALL plugins and run a
>> spamassassin --lint
>> if there is errors report this to debian maintainer
>> even when no plugins are loaded sa should not make lint errors
> No, no. Evrything is okay. It`s no debian version. Self compiled.
> I`ve all plugins loaded now through the v312.pre. No errors more.
> Thanks.

my point is that there is errors when no plugins are loaded, fix them, and 
after that enable the plugins you
need if not all :)

sorry if this is only true in 3.1.0 i have not tested if that is still the case 
in 3.1.2






Re: Lint error

2006-06-05 Thread Jim Knuth
Heute (05.06.2006/16:18 Uhr) schrieb Benny Pedersen,

>> Thank you. I`m so stupid. ;)  I`ve deleted (after update 3.1.1 =>
>> 3.1.2) the v310.pre. I had only the v312.pre. Now works again.

> try disable ALL plugins and run a

> spamassassin --lint

> if there is errors report this to debian maintainer

> even when no plugins are loaded sa should not make lint errors


No, no. Evrything is okay. It`s no debian version. Self compiled.
I`ve all plugins loaded now through the v312.pre. No errors more.
Thanks.


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Ich weigere mich, die Ansicht anzuerkennen, dass die 
Menschheit derart tragisch in die sternlose Mitternacht von 
Rassismus und Krieg verstrickt ist, dass der helle 
Tagesanbruch von Friede und Brüderlichkeit niemals 
Wirklichkeit werden kann. (Martin Luther King Jr., 1929-
1968)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1579 Build 7408  05.06.2006



Re: Lint error

2006-06-05 Thread Benny Pedersen

> Thank you. I`m so stupid. ;)  I`ve deleted (after update 3.1.1 =>
> 3.1.2) the v310.pre. I had only the v312.pre. Now works again.

try disable ALL plugins and run a

spamassassin --lint

if there is errors report this to debian maintainer

even when no plugins are loaded sa should not make lint errors



Re: Lint error

2006-06-05 Thread Jim Knuth
Heute (05.06.2006/15:51 Uhr) schrieb JamesDR,

> Jim Knuth wrote:
>> Hallo und Guten Tag spamassassin-users,
>> 
>> I suddenly get the following error
>> 
>> spamassin --lint
>> 
>> [8123] warn: config: failed to parse line, skipping: auto_whitelist_factory 
>> Mail::SpamAssassin::SQLBasedAddrList
>> [8123] warn: config: failed to parse line, skipping: user_awl_dsn 
>> DBI:mysql:spamassassin:localhost:3306
>> [8123] warn: config: failed to parse line, skipping: user_awl_sql_username 
>> amavis
>> [8123] warn: config: failed to parse line, skipping: user_awl_sql_password 
>> password
>> [8123] warn: config: failed to parse line, skipping: user_awl_sql_table awl
>> 
>> But the system works fine. I have no changes made
>> 
>> SpamAssassin version 3.1.2
>>   running on Perl version 5.8.4
>> 
>> Amavisd-new 2.4.1
>> Debian sarge
>> 
>> Why?
>> 
>> 
> Make sure the AWL plugin is enabled in v310.pre
> HTH


Thank you. I`m so stupid. ;)  I`ve deleted (after update 3.1.1 =>
3.1.2) the v310.pre. I had only the v312.pre. Now works again.


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Auch wenn alle einer Meinung sind, können alle unrecht 
haben. (Bertrand Russel, brit. Philosoph, 1872-1970)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 1.1579 Build 7408  05.06.2006



Re: Lint error

2006-06-05 Thread Benny Pedersen
> spamassin --lint
>
> [8123] warn: config: failed to parse line, skipping: auto_whitelist_factory
Mail::SpamAssassin::SQLBasedAddrList

> But the system works fine. I have no changes made

so please do :-)

> SpamAssassin version 3.1.2
> running on Perl version 5.8.4
> Amavisd-new 2.4.1
> Debian sarge

debian makes it harder for sysadmins, but the error is that you have configred 
AWL but not loaded it in a
*.pre file

> Why?

search for ifplugin and loadplugin in perldoc Mail::SpamAssassin::Conf




Re: Lint error

2006-06-05 Thread JamesDR

Jim Knuth wrote:

Hallo und Guten Tag spamassassin-users,

I suddenly get the following error

spamassin --lint

[8123] warn: config: failed to parse line, skipping: auto_whitelist_factory 
Mail::SpamAssassin::SQLBasedAddrList
[8123] warn: config: failed to parse line, skipping: user_awl_dsn 
DBI:mysql:spamassassin:localhost:3306
[8123] warn: config: failed to parse line, skipping: user_awl_sql_username 
amavis
[8123] warn: config: failed to parse line, skipping: user_awl_sql_password 
password
[8123] warn: config: failed to parse line, skipping: user_awl_sql_table awl

But the system works fine. I have no changes made

SpamAssassin version 3.1.2
  running on Perl version 5.8.4

Amavisd-new 2.4.1
Debian sarge

Why?



Make sure the AWL plugin is enabled in v310.pre
HTH

--
Thanks,
James


Re: Lint error on check_mx_delay

2004-10-19 Thread Theo Van Dinter
On Tue, Oct 19, 2004 at 01:18:37PM -0400, Alicia Forsythe wrote:
> failed to parse line check_mx_delay 5
>
> whitelsist is being used and all is working just fine.  Any reason lint
> is picking up on this line with 3.0?

check_mx_delay is not a valid configuration option in 3.0.

-- 
Randomly Generated Tagline:
"Fractions are like popcorn ... white and fluffy ..."   - Prof. Branche


pgpdGiPuWjYva.pgp
Description: PGP signature


RE: --lint error

2004-09-29 Thread Ken Goods
Ryan Moore scribbled on Wednesday, September 29, 2004 4:48 PM:

>> Can I respectfully ask why SA even looks at that file if it doesn't
>> need it anymore? 
>> 
>> Ken
>> 
> 
> It'll read any *.cf file under /etc/mail/spamassassin, doesn't matter
> what the filename itself is. 
> 
> 
> Ryan Moore
> --
> Perigee.net Corporation
> 704-849-8355 (sales)
> 704-849-8017 (tech)
> www.perigee.net

Ah the light blub starts to glow makes perfect sense. 

Thanks again.

Ken


Re: --lint error

2004-09-29 Thread Ryan Moore
Can I respectfully ask why SA even looks at that file if it doesn't need it
anymore?
Ken
It'll read any *.cf file under /etc/mail/spamassassin, doesn't matter
what the filename itself is.
Ryan Moore
--
Perigee.net Corporation
704-849-8355 (sales)
704-849-8017 (tech)
www.perigee.net


RE: --lint error

2004-09-29 Thread Ken Goods
Ryan Moore scribbled on Wednesday, September 29, 2004 4:31 PM:



> 
> 
> SURBL support is included in SA3.0, delete surbl_uri.cf.
> 
> 
> Ryan Moore
> --
> Perigee.net Corporation
> 704-849-8355 (sales)
> 704-849-8017 (tech)
> www.perigee.net

Worked like a charm Ryan... thanks!

Can I respectfully ask why SA even looks at that file if it doesn't need it
anymore?

Ken


RE: --lint error

2004-09-29 Thread Ken Goods
Ryan Moore scribbled on Wednesday, September 29, 2004 4:31 PM:



> 
> 
> SURBL support is included in SA3.0, delete surbl_uri.cf.
> 
> 
> Ryan Moore
> --
> Perigee.net Corporation
> 704-849-8355 (sales)
> 704-849-8017 (tech)
> www.perigee.net

You mean to tell me with all I went through today, it's as easy as that?
Argh I knew it was built-in but didn't see anything about it not
needing the .cf file any longer. 

Thanks much Ryan! I'll give that a shot. I'm feeling pretty used and abused
right now. But on the bright side... I did pick up a few more tricks and
tips about SA along the way.

Ken


Re: --lint error

2004-09-29 Thread Ryan Moore
Ken Goods wrote:
I finally got SA 3.0 installed (by building from the tarball) along with
MailScanner 4.33.3 and ClamAV 0.80, but I am getting the following --lint
error keeping the URI checks from being performed. (Redhat 9.0)
debug: running uri tests; score so far=-3.174
Failed to compile URI SpamAssassin tests, skipping:
(syntax error at /etc/mail/spamassassin/surbl_uri.cf, rule
WS_URI_RBL, line 1, near "eval:"
syntax error at /etc/mail/spamassassin/surbl_uri.cf, rule SPAMCOP_URI_RBL,
line 1, near "eval:"
syntax error at /etc/mail/spamassassin/surbl_uri.cf, rule SPAMCOP_URI_RBL,
line 11, near "}
}"
)

SURBL support is included in SA3.0, delete surbl_uri.cf.
Ryan Moore
--
Perigee.net Corporation
704-849-8355 (sales)
704-849-8017 (tech)
www.perigee.net