On Thu, Dec 07, 2006 at 10:47:01AM -0500, Fred T wrote:
> > Considering headers are not part of the body, I'd say that if body rules
> > match against the subject, then either the documentation in the wiki is
> > misleading and needs to be changed, or there's a problem with the body
> > rules behavior.

> I know it's been this way, there's probably a really old bugzilla
> ticket someone can dig up, but it's been around since 2.64 or earlier.

Check out man Mail::SpamAssassin::Conf. As of 3.1.7, probably much
earlier:

       body SYMBOLIC_TEST_NAME /pattern/modifiers
           Define a body pattern test.  "pattern" is a Perl regular expres-
           sion.  Note: as per the header tests, "#" must be escaped ("\#") or
           else it is considered the beginning of a comment.

           The "body" in this case is the textual parts of the message body;
           any non-text MIME parts are stripped, and the message decoded from
           Quoted-Printable or Base-64-encoded format if necessary.  The mes-
           sage Subject header is considered part of the body and becomes the
           first paragraph when running the rules.  All HTML tags and line
           breaks will be removed before matching.


-- 
Duncan Findlay

Attachment: pgpxzFeoMk5zQ.pgp
Description: PGP signature

Reply via email to