http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5796

           Summary: Need to define a few plugin rules when the plugins are
                    disabled
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Rules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


>From the user's list today:

> info: rules: meta test DIGEST_MULTIPLE has undefined dependency
> 'RAZOR2_CHECK'
> info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
> info: rules: meta test DIGEST_MULTIPLE has undefined dependency
> 'PYZOR_CHECK'

This question comes up moderately frequently when someone looks at their debug 
output.  I think DIGEST_MULTIPLE is the main culprit here, but there might be 
one or two others.

Since it is known that a handful of very specific plugin rules feed into 
DIGEST_MULTIPLE, and that these warnings will be extraneously produced if the 
plugin(s) aren't enabled, I suggest using the #else side of the #ifplugin 
around the rules like DCC_CHECK that feed into DIGEST_MULTIPLE.

Simply have something like

#else
meta DCC_CHECK  (0)
#endif

The rule will never hit, so will be functionally equivalent to the current 
situation.  But it will eliminate the annoying warnings.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to