Re: spamassassin --lint error
ram01 wrote: > I just recently added rules_du_jour script and I am trying to get it to work. > A preliminary lint gives these lines: > > [25132] dbg: plugin: fixed relative path: > /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf > [25132] dbg: config: using > "/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf" > for included file > [25132] dbg: config: read file > /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf > > > after I get these lines: > > [25017] dbg: plugin: fixed relative path: > /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf > [25017] dbg: config: using > "/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf" > for included file > [25017] dbg: config: read file > /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf > [25017] warn: config: failed to parse line, skipping: blac > > This file shouldn't be being modified and there is no occurrence of "blac" > in the file. What am i missing. > "blac" could be in *ANY* config file parsed after 80_additional.cf Check your site rules dir (ie: /etc/mail/spamassassin/*.cf)
spamassassin --lint error
I just recently added rules_du_jour script and I am trying to get it to work. A preliminary lint gives these lines: [25132] dbg: plugin: fixed relative path: /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf [25132] dbg: config: using "/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf" for included file [25132] dbg: config: read file /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf after I get these lines: [25017] dbg: plugin: fixed relative path: /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf [25017] dbg: config: using "/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf" for included file [25017] dbg: config: read file /var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf [25017] warn: config: failed to parse line, skipping: blac This file shouldn't be being modified and there is no occurrence of "blac" in the file. What am i missing. -- View this message in context: http://www.nabble.com/spamassassin---lint-error-tf3431106.html#a9565098 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
RE: lint error on FuzzyOcr 3.5.0-rc1
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/
lint error on FuzzyOcr 3.5.0-rc1
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. Gary V _ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701
Re: Lint error
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
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
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
* 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]
Lint error
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 What`s wrong? -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 -- Zufalls-Zitat -- Das letzte Wort der Gehilfin des Messerwerfers an der Wurfscheibe: "Hatschii!" -- Der Text hat nichts mit dem Empfaenger der Mail zu tun -- Virus free. Checked by NOD32 Version 1.1739 Build 7959 04.09.2006
Re: Lint error
> 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
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
> 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
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
> 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
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
Lint error
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? -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 -- Zufalls-Zitat -- Die Einkommensteuer hat mehr Menschen zu Lügnern gemacht als der Teufel. (William Rogers, am. Humorist, 1879-1935) -- 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: spamassassin --lint error
On Tue, Apr 11, 2006 at 08:32:33PM -0400, Robert Swan wrote: > I am stumped with a lint error I am getting below, everything is running > ok but when I run -lint I get this error, anybody know what the problem > might be? > > config: SpamAssassin failed to parse line, skipping: \ As it says, you have "\" on a line by itself somewhere in a config file. -- Randomly Generated Tagline: "It's more about the opportunity to make an impact and the challenge to be successful than it is about the title." - Paul M. Moriarty in <[EMAIL PROTECTED]> pgpU7woNyJanN.pgp Description: PGP signature
spamassassin --lint error
All, I am stumped with a lint error I am getting below, everything is running ok but when I run –lint I get this error, anybody know what the problem might be? I have pasted the debul log entries that are close to it. I am running SpamAssassin version 3.1.1 running on Perl version 5.8.6 and redhat fedora core 4. debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa0eb994) implements 'parse_config' config: SpamAssassin failed to parse line, skipping: \ debug: using "/root/.spamassassin" for user state dir debug: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks debug: Score set 1 chosen. lint: 1 issues detected. please rerun with debug enabled for more information. Thanks in advance, Robert Peace he would say instead of goodbyepeace, brother.
Re: SA lint error on parse config
From: "Asif Iqbal" <[EMAIL PROTECTED]> > Hi All > > I need a clue on where to look to fix this error > > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac) > implements 'parse_config' > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: Error 500 > Internal Server Error [timj.co.uk] > config: SpamAssassin failed to parse line, skipping: rel="stylesheet" type="text/css" href="/main.css"> > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a > digital world gon > e mad" /> > [...] > lint: 58 issues detected. please rerun with debug enabled for more information > > Anyone has seen this before? I get this errror when running > spamassassin --lint > Also with "line: 58 ..." what file is it referring to? > > I am using SA 3.0.3 on Solaris 8 Presuming (like I'm an idiot so I presume) that you run "spamassassin --lint" every time you make a change to your rules, "What was the last line or set of lines that you edited?" It looks like a large selection of lines that need "\<" sort of constructs added for multiple characters that need such escaping. "spamassassin -D --lint" provides an absurd amount of information. Maybe it will tell you which rule and file triggered the mess. {^_-}
Re: SA lint error on parse config
I've seen it. Are you using RDJ? I posted a similar message on this list not long ago. I was told I needed to upgrade to the latest version of RDJ, which I did. However, it didn't fix the problem for me, so now I periodically use wget to download the Bogus Virus Warning rule. I hope someone can shed more light on the problem for you (and for me, for that matter). On Tuesday May 24 2005 4:43 pm, Asif Iqbal wrote: > Hi All > > I need a clue on where to look to fix this error > > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac) > implements 'parse_config' > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: Error 500 > Internal Server Error [timj.co.uk] > config: SpamAssassin failed to parse line, skipping: rel="stylesheet" type="text/css" href="/main.css"> > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a > digital world gon > e mad" /> > [...] > lint: 58 issues detected. please rerun with debug enabled for more > information > > Anyone has seen this before? I get this errror when running > spamassassin --lint > Also with "line: 58 ..." what file is it referring to? > > I am using SA 3.0.3 on Solaris 8
Re: SA lint error on parse config
On Tue, May 24, 2005 at 04:49:51PM, Fred wrote: > You have a .cf file with HTML code in it. Most likely Rules-du-jour or > something went bad on you recently and downloaded a webpage insted of a > rulefile. Search for the string in your rules and see if you find > one that's obviously wrong. Thank you very much. My bogus-virus-warnings.cf was html file. Fixed and working like a champ now. Thanks a lot again. > Frederic Tarasevicius > Internet Information Services, Inc. > http://www.i-is.com/ > 810-794-4400 > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
Re: SA lint error on parse config
Asif Iqbal wrote: > Hi All > > I need a clue on where to look to fix this error > > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac) > implements 'parse_config' > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: Error 500 > Internal Server Error [timj.co.uk] > config: SpamAssassin failed to parse line, skipping: rel="stylesheet" type="text/css" href="/main.css"> > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a > digital world gon > e mad" /> > [...] > lint: 58 issues detected. please rerun with debug enabled for more > information > > Anyone has seen this before? No, but it looks like you somehow have a web site HTML error document being used as a config file. It would appear a download of bogus-virus-warnings.cf failed, as it is hosted by timj.co.uk, which appears in the messages above. I get this errror when running > spamassassin --lint > Also with "line: 58 ..." what file is it referring to? That's not line: 58... that's "lint: 58" It's telling you lint found 58 problems while parsing the file. > > I am using SA 3.0.3 on Solaris 8 > >
Re: SA lint error on parse config
You have a .cf file with HTML code in it. Most likely Rules-du-jour or something went bad on you recently and downloaded a webpage insted of a rulefile. Search for the string in your rules and see if you find one that's obviously wrong. Frederic Tarasevicius Internet Information Services, Inc. http://www.i-is.com/ 810-794-4400 Asif Iqbal wrote: > Hi All > > I need a clue on where to look to fix this error > > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac) > implements 'parse_config' > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: Error 500 > Internal Server Error [timj.co.uk] > config: SpamAssassin failed to parse line, skipping: rel="stylesheet" type="text/css" href="/main.css"> > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: > config: SpamAssassin failed to parse line, skipping: src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a > digital world gon > e mad" /> > [...] > lint: 58 issues detected. please rerun with debug enabled for more > information > > Anyone has seen this before? I get this errror when running > spamassassin --lint > Also with "line: 58 ..." what file is it referring to? > > I am using SA 3.0.3 on Solaris 8
SA lint error on parse config
Hi All I need a clue on where to look to fix this error debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac) implements 'parse_config' config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: Error 500 Internal Server Error [timj.co.uk] config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: config: SpamAssassin failed to parse line, skipping: [...] lint: 58 issues detected. please rerun with debug enabled for more information Anyone has seen this before? I get this errror when running spamassassin --lint Also with "line: 58 ..." what file is it referring to? I am using SA 3.0.3 on Solaris 8 -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
Re: SA 3.0 lint error
Kurt yeah ran into a similar problem with --lint option...not very nice error messages. Must check bug list one this one... I'd double check all the syntax for the options against the docs... -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 Kurt Buff wrote: All, This is a relatively fresh install, new as of last week, not an upgrade of an old system. Ran spamassassin --lint as root, and got the following error: 'Argument "" isn't numeric in numeric eq (==) at /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 578.' Where might I start in trying to correct this? My local.cf is as follows: report_safe 1 report_safe_copy_headers Received add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTSSCORES_ bayes=_BAYES_ autolearn=_AUTOLEARN_ version=_VERSION_ add_header all Level _STARS(*)_ use_auto_whitelist 0 use_bayes 1 bayes_use_hapaxes bayes_path /home/filter/spamassassin/bayes bayes_auto_learn 1 skip_rbl_checks 1 use_razor2 0 use_dcc 0 use_pyzor 0 dns_available yes fold_headers 1 score BAYES_99 4.300 score BAYES_80 3.000 score HTML_FONT_INVISIBLE 3.5 score HTML_90_100 3.5 score HTML_WEB_BUGS 2.0 score USER_IN_WHITELIST_TO -50 Thanks, Kurt ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean. **
Re: SA 3.0 lint error
At 03:33 PM 11/30/2004, Kurt Buff wrote: Ran spamassassin --lint as root, and got the following error: 'Argument "" isn't numeric in numeric eq (==) at /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 578.' Where might I start in trying to correct this? bayes_use_hapaxes Add a numeric 1 or 0 to the above..
SA 3.0 lint error
All, This is a relatively fresh install, new as of last week, not an upgrade of an old system. Ran spamassassin --lint as root, and got the following error: 'Argument "" isn't numeric in numeric eq (==) at /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 578.' Where might I start in trying to correct this? My local.cf is as follows: report_safe 1 report_safe_copy_headers Received add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTSSCORES_ bayes=_BAYES_ autolearn=_AUTOLEARN_ version=_VERSION_ add_header all Level _STARS(*)_ use_auto_whitelist 0 use_bayes 1 bayes_use_hapaxes bayes_path /home/filter/spamassassin/bayes bayes_auto_learn 1 skip_rbl_checks 1 use_razor2 0 use_dcc 0 use_pyzor 0 dns_available yes fold_headers 1 score BAYES_99 4.300 score BAYES_80 3.000 score HTML_FONT_INVISIBLE 3.5 score HTML_90_100 3.5 score HTML_WEB_BUGS 2.0 score USER_IN_WHITELIST_TO -50 Thanks, Kurt
Re: Lint error on check_mx_delay
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
Lint error on check_mx_delay
Just upgraded to 3.0 from 2.55. spamassassin --lint produced the following error: failed to parse line check_mx_delay 5 this is the first uncommented line from the local.cf file auto created with SAConf 1.2.4. local.cf also contains our whitelist. The whitelsist is being used and all is working just fine. Any reason lint is picking up on this line with 3.0?
RE: --lint error
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
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
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
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
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
--lint error
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 "} }" ) After reading the FAQ's and searching the archives pretty much all day I still come up dry. The surbl_uri.cf file looks fine and I didn't touch it during the build. It seems most of the recommendations had to do with making sure the .pm files were in the correct perl directory under /usr/lib/perl5. If someone could clarify this for me I would be eternally grateful. Under /usr/lib/perl5 I have 3 directories: 5.8.0, site_perl, and vendor_perl. Under 5.8.0 I do not have a Mail directory. Under site_perl I have 2 directories: 5.6.1 and 5.8.0. Under vendor_perl I have 1 directory: 5.8.0. site_perl/5.8.0, site_perl/5.6.1 and vendor_perl/5.8.0 all have a Mail/Spamassassin directory. The site_perl/5.8.0/Mail/Spamassassin directory has, what appears to be the correct files including SpamCopURI.pm. The vendor_perl/5.8.0/Mail/Spamassassin directory has no files. The site_perl/5.6.1/Mail/Spamassassin has old files (1/2004). So I assume that the .pm files are in the correct location. 1. Could there be another cause of the above error? and 2. Is there anything I can/should do to clean up my perl5 subdirectory path? Please save me from pulling out my last two hairs! Thanks in advance. Ken Ken Goods Network Administrator AIA Insurance, Inc.