Karsten Bräckelmann wrote:
A: Because they are not defined. (See second half of this post.)
What I was getting at with MIME_IMAGE_ONLY is, is this a really
fundamental test that's supposed to be defined in the tests in
/usr/share/spamassassin/ ?
No, it is not. That's a *custom* rule that has been posted here very
recently, to fight a particular, recent run of image spam.
I grep'd for it, but didn't find it.
Did I miss you saying that before? That's the most crucial bit of
information you can give!
Dude, all our debugging was aimed at finding an issue why a *defined*
rule doesn't trigger -- in some cases, as it appeared to me, while it
does in other cases. See my previous question above, if you get those
hits at all. *sigh*
Or is it a rule that only gets put into the sa-update directory,
wherever that is? What ruleset (eg. 25_antivirus.cf, etc) is it in?
It lives here. Put it in your local.cf.
http://markmail.org/message/zio642mxs5p42kxa
Where did you come across that rule at all? How did you get the
impression it should be in your stock install?
It seemed like quite an obvious one to me - an image only and no body?
Anyway, OK so I can manually put this rule in. But is there a way to do
things in a more automated fashion? I don't want to be manually
entering new rules all the time. I tried sa-update but it seems to have
made no difference and this rule still isn't getting matched.
Best regards,
Jeremy Morton (Jez)