At 08:32 22-06-2009, Jean-Paul Natola wrote:
I copied this rule from someone here on the list

header     __CTYPE_MULTIPART_ANY Content-Type =~ /multipart\/\w/i
ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
mimeheader __ANY_TEXT_ATTACH     Content-Type =~ /text\/\w+/i
meta     MIME_NO_TEXT (__CTYPE_MULTIPART_ANY && !__ANY_TEXT_ATTACH)
score    MIME_NO_TEXT 2.00
describe MIME_NO_TEXT No text body parts end if


and this error comes up when I when I run lint

[35143] warn: config: unclosed 'if' in
/usr/local/etc/mail/spamassassin/jp.cf: if plugin
(Mail::SpamAssassin::Plugin::MIMEHeader)

The "end if" should not be in the "describe" line. Add "endif" after the describe line to close the "ifplugin" condition.

See http://mail-archives.apache.org/mod_mbox/spamassassin-users/200906.mbox/%3cpine.lnx.4.64.0906020849430.10...@mercury.impsec.org%3e

Regards,
-sm

Reply via email to