RE: Sa -- lint : HOWTO know which cf file gives the problem ?

2007-01-26 Thread Matthias Fuhrmann
On Fri, 26 Jan 2007, Florent Gilain wrote:

> Hummm thanks a lot, it was finally easyer than i was thinking  ;-))
>
> Florent
>
[...]
> 70_zmi_german.cf:scoreZMIde_SUBBIG 1.8
>
> so the file containing the rule is 70_zmi_german.cf in the current
> directory.

you are welcome :)

regards,
Matthias


RE: Sa -- lint : HOWTO know which cf file gives the problem ?

2007-01-26 Thread Florent Gilain
Hummm thanks a lot, it was finally easyer than i was thinking  ;-))

Florent

-Message d'origine-
De : Matthias Fuhrmann [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 25 janvier 2007 21:27
À : users@spamassassin.apache.org
Objet : Re: Sa -- lint : HOWTO know which cf file gives the problem ?

On Thu, 25 Jan 2007, Florent Gilain wrote:

hI,

> Hello all,
>
> When i run this :
>
> [EMAIL PROTECTED] spamassassin]# spamassassin --lint [21570] warn: config: 
> warning: description exists for non-existent rule MIME_BOUND_NEXTPART 
> [21570] warn: config: warning: description exists for non-existent 
> rule BIZ_TLD [21570] warn: lint: 2 issues detected, please rerun with 
> debug enabled for more information
>
> I am asking myself how to know which *.cf file is the problem...is 
> there an easy way to find it ?

either in /etc/mail/spamassasin or in $PREFIX/share/spamassassin do for
example this: 'grep RULENAME *.cf'
if you were using sa-update you can find those updated main rules in
$PREFIX/var/spamassassin/3.001007/updates_spamassassin_org
this is for 3.1.7, your path might be:
$PREFIX/var/spamassassin/3.001001/updates_spamassassin_org

result is something like:

grep ZMIde_SUBBIG *.cf
70_zmi_german.cf:header   ZMIde_SUBBIG Subject =~ /(?:Eilig
70_zmi_german.cf:describe ZMIde_SUBBIG subject suggesting business
70_zmi_german.cf:scoreZMIde_SUBBIG 1.8

so the file containing the rule is 70_zmi_german.cf in the current
directory.

regards,
Matthias



Re: Sa -- lint : HOWTO know which cf file gives the problem ?

2007-01-25 Thread Matthias Fuhrmann
On Thu, 25 Jan 2007, Florent Gilain wrote:

hI,

> Hello all,
>
> When i run this :
>
> [EMAIL PROTECTED] spamassassin]# spamassassin --lint
> [21570] warn: config: warning: description exists for non-existent rule
> MIME_BOUND_NEXTPART
> [21570] warn: config: warning: description exists for non-existent rule
> BIZ_TLD
> [21570] warn: lint: 2 issues detected, please rerun with debug enabled for
> more information
>
> I am asking myself how to know which *.cf file is the problem...is there an
> easy way to find it ?

either in /etc/mail/spamassasin or in $PREFIX/share/spamassassin
do for example this: 'grep RULENAME *.cf'
if you were using sa-update you can find those updated main rules in
$PREFIX/var/spamassassin/3.001007/updates_spamassassin_org
this is for 3.1.7, your path might be:
$PREFIX/var/spamassassin/3.001001/updates_spamassassin_org

result is something like:

grep ZMIde_SUBBIG *.cf
70_zmi_german.cf:header   ZMIde_SUBBIG Subject =~ /(?:Eilig
70_zmi_german.cf:describe ZMIde_SUBBIG subject suggesting business
70_zmi_german.cf:scoreZMIde_SUBBIG 1.8

so the file containing the rule is 70_zmi_german.cf in the current
directory.

regards,
Matthias