You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2019/11/11 15:58:44 UTC
[Bug 7729] [review] body rules to match body only, not including the
Subject
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7729
--- Comment #22 from Kevin A. McGrail <km...@apache.org> ---
Just a note that with rc4 or greater for 3.4.3, it worked as expected.
Here's how I tested:
Add this rule and an email with subject example and example not in the body
#Testing Rule for NoSubject Rules - See note 58246
if (version >= 3.004003)
#SHOULD HIT
body NOSUBJECT_TEST_HIT /example/i
describe NOSUBJECT_TEST_HIT This should hit on an email
with example in the subject but not in the body because
subjects are automatically prepending for testing.
#SHOULD NOT HIT
body NOSUBJECT_TEST_FAIL /example/i
describe NOSUBJECT_TEST_FAIL This should NOT hit on an email
with example in the subject not not in the body beca
use the tflag nosubject will stop the automatic prepending of subjects for
testing.
tflags NOSUBJECT_TEST_FAIL nosubject
endif
--
You are receiving this mail because:
You are the assignee for the bug.