You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Menschel <Ro...@Menschel.net> on 2005/02/01 03:21:31 UTC

Re: [3.0.2] RulesDuJour --lint problem

Hello Martin,

Monday, January 31, 2005, 2:50:39 AM, you wrote:

MS> Hi,
MS> since lately rulesdujour has stopped updating the rules; instead
MS> it complains that spamassassin --lint fails (which prints a lot
MS> of warnings). I've tried using sa30-check but it doesn't help.

Judging from
warning: description for SARE_RECV_IP_080032 is over 50 chars
and others, where I know that problem existed while SA 3.0.0 was in
beta, but fixed before the first production distribution, I'd guess
that you have some old custom files which are not being updated by
RDJ.

RDJ tries to pull in updates for the custom files you've told it to
manage, but the old files it doesn't replace cause these --lint
errors, and then RDJ backs out everything, not able to know that its
files are OK, and the problems are with other files.

Looking at your custom file list from the debug,

MS> debug: config: read file /etc/mail/spamassassin/70_sare_header.cf
MS> debug: config: read file /etc/mail/spamassassin/70_sare_header0.cf
MS> debug: config: read file /etc/mail/spamassassin/70_sare_header1.cf
MS> debug: config: read file /etc/mail/spamassassin/70_sare_header2.cf

70_sare_header.cf contains header0, header1, header2, and header3. So
you've duplicated entries here, by itself no big problem. But if
header is under RDJ and headerN isn't, or v.v., that could cause yor
problem.

MS> debug: config: read file /etc/mail/spamassassin/70_sare_spoof.cf
MS> /etc/mail/spamassassin/99_sare_fraud_post25x.cf

Fred -- can you confirm -- isn't 70_sare_spoof.cf a replacement for
99_sare_fraud_pos25x.cf?  If 99_ isn't being maintained because it's
obsolete, that could be contributing to this problem.

MS> debug: config: read file /etc/mail/spamassassin/antidrug.cf
Obsoleted by SpamAssassin 3.0

MS> warning: description exists for non-existent rule SPF_HELO_PASS
Isn't this part of 3.0 standard? Is there a problem with your
installation?

MS> warning: description for DATE_IN_FUTURE_48_96 is over 50 chars
Another distribrule, I think. I suspect you're pulling in some pre-3.0
distrib rules into your 3.0 installation.

MS> warning: description for SUBJ_2_NUM_PARENS is over 50 chars
That's an awfully new rule. I don't think it ever existed with more
than 50 chars in its description. Is it possible that one or more of
your files is in the wrong format (has the wrong line ending control),
so that lines are wrapping and description lines are flowing over to
the next line?

Bob Menschel




Re: [3.0.2] RulesDuJour --lint problem

Posted by jdow <jd...@earthlink.net>.
From: "Martin Schröder" <ms...@artcom-gmbh.de>

On 2005-01-31 18:21:31 -0800, Robert Menschel wrote:
> MS> warning: description exists for non-existent rule SPF_HELO_PASS
> Isn't this part of 3.0 standard? Is there a problem with your
> installation?

I don't think so; I just don't use the spf plugin.
>
> MS> warning: description for DATE_IN_FUTURE_48_96 is over 50 chars
> Another distribrule, I think. I suspect you're pulling in some pre-3.0
> distrib rules into your 3.0 installation.

No; it's in 30_text_de.cf, 30_text_fr.cf, 30_text_nl.cf and
30_text_pl.cf.

<< And considering that you are German I looked at the German text.
<< It is 64 characters long, indeed. That is with 3.0.2 clean.
<< It appears other languages have similar length problems. This
<< is probably bugzilla material.

{^_^}



Re: [3.0.2] RulesDuJour --lint problem

Posted by Martin Schröder <ms...@artcom-gmbh.de>.
On 2005-01-31 18:21:31 -0800, Robert Menschel wrote:
> MS> warning: description exists for non-existent rule SPF_HELO_PASS
> Isn't this part of 3.0 standard? Is there a problem with your
> installation?

I don't think so; I just don't use the spf plugin.
> 
> MS> warning: description for DATE_IN_FUTURE_48_96 is over 50 chars
> Another distribrule, I think. I suspect you're pulling in some pre-3.0
> distrib rules into your 3.0 installation.

No; it's in 30_text_de.cf, 30_text_fr.cf, 30_text_nl.cf and
30_text_pl.cf.

Best regards
        Martin
-- 
               Martin Schröder, ms@artcom-gmbh.de
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10
                    http://www.artcom-gmbh.de

Re: [3.0.2] RulesDuJour --lint problem

Posted by jdow <jd...@earthlink.net>.
From: "Martin Schröder" <ms...@artcom-gmbh.de>

On 2005-01-31 18:21:31 -0800, Robert Menschel wrote:
> That's an awfully new rule. I don't think it ever existed with more
> than 50 chars in its description. Is it possible that one or more of
> your files is in the wrong format (has the wrong line ending control),
> so that lines are wrapping and description lines are flowing over to
> the next line?

Unlikely. I removed everything but evilnumbers and rdj still
falls over the lint; the rules in /usr/share/spamassassin/ are as
distributed.

Btw: I'm using the official rpms from SuSE. And rdj worked
happily till lateley. :-(

<< If you have personal rules enabled make sure the rule is not
<< in your own user_prefs rules.

{^_^}



Re: [3.0.2] RulesDuJour --lint problem

Posted by Chris Thielen <cm...@someone.dhs.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

Martin Schröder wrote:

| On 2005-01-31 18:21:31 -0800, Robert Menschel wrote:
|
|> That's an awfully new rule. I don't think it ever existed with
|> more than 50 chars in its description. Is it possible that one or
|> more of your files is in the wrong format (has the wrong line
|> ending control), so that lines are wrapping and description lines
|> are flowing over to the next line?
|
|
| Unlikely. I removed everything but evilnumbers and rdj still falls
| over the lint; the rules in /usr/share/spamassassin/ are as
| distributed.


What does spamassassin --lint output from the command line, outside of
rdj?

Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCjDFu+NW2kiW8d0RAuMPAKClck2XSIvyTPPxzTdMMRWm8x7LBACg0ozJ
m2zWLJzibr4IUTtYmzgOQPU=
=a2Hk
-----END PGP SIGNATURE-----


Re: [3.0.2] RulesDuJour --lint problem

Posted by Martin Schröder <ms...@artcom-gmbh.de>.
On 2005-01-31 18:21:31 -0800, Robert Menschel wrote:
> That's an awfully new rule. I don't think it ever existed with more
> than 50 chars in its description. Is it possible that one or more of
> your files is in the wrong format (has the wrong line ending control),
> so that lines are wrapping and description lines are flowing over to
> the next line?

Unlikely. I removed everything but evilnumbers and rdj still
falls over the lint; the rules in /usr/share/spamassassin/ are as
distributed.

Btw: I'm using the official rpms from SuSE. And rdj worked
happily till lateley. :-(

Best regards
        Martin
-- 
               Martin Schröder, ms@artcom-gmbh.de
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10
                    http://www.artcom-gmbh.de