Matt replied (in part): > > >I thought it was only supposed to scan text/html attachments? > > I've never heard anyone claim such. >
Here's what the current docs. say: body SYMBOLIC_TEST_NAME /pattern/modifiers Define a body pattern test. pattern is a Perl regular expression. 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 message 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. rawbody SYMBOLIC_TEST_NAME /pattern/modifiers Define a raw-body pattern test. pattern is a Perl regular expression. The 'raw body' of a message is the text, including all textual parts. The text will be decoded from base64 or quoted-printable encoding, but HTML tags and line breaks will still be present. ----- And my earlier quesion: For the purposes of these tests how is "textual parts" defined? For example, in a multipart/alternative, would the tests be run both on the text part and the html part? Which MIME types are classified as text? Just for clarity, if someone attaches a text file, that is not considered to be a "textual part" is it? ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk