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:score    ZMIde_SUBBIG 1.8

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

regards,
Matthias

Reply via email to