Hi Quanah,

On 22/04/15 02:52, [*] Quanah Gibson-Mount wrote:
--On Tuesday, April 14, 2015 11:05 PM +0100 Steve Freegard <s...@fsl.com> wrote:
Just because *you* can't find any sense in it; others might be able to.

For example:

meta     __FSL_ANY_BULK         ((DCC_CHECK || RAZOR2_CHECK ||
PYZOR_CHECK) && !FSL_EMPTY_BODY)

meta     FSL_FREEMAIL_BULK      (__FSL_ANY_BULK && FREEMAIL_FROM)
score    FSL_FREEMAIL_BULK      3.0
describe FSL_FREEMAIL_BULK      Mail from Freemail account that matches
bulk signature
#   1.008   1.0844   0.0000    1.000   0.75    0.00  + FSL_FREEMAIL_BULK

However - I'll readily agree with you that DCC_CHECK adding score to all
bulk mail isn't that useful, however that is what the mass-checker has
decided works best with the corpus of mail available.

Hi Steve,

What is your rule for FSL_EMPTY_BODY?  Your meta looks useful.

--Quanah



Here you go - there's a few bits to it:

meta FSL_EMPTY_BODY (((__BODY_TEXT_LINE - __FSL_HAS_SUBJECT) <= 0) && !__FSL_HAS_CAL_PART)
describe FSL_EMPTY_BODY         Message has completely empty body
score    FSL_EMPTY_BODY         1.0

header   __FSL_HAS_SUBJECT      Subject =~ /^\s*\S/m
tflags   __FSL_HAS_SUBJECT      multiple

ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
mimeheader __FSL_HAS_CAL_PART   Content-Type =~ /text\/calendar/
endif

Kind regards,
Steve.

Reply via email to