Greg Cirino - Cirelle Enterprises <[EMAIL PROTECTED]> wrote: > header SUBJECT_ENCODED_MY_TEST Subject:raw =~ /=\?.*\?=/i > > catches anything starting with =? and ending with ?= no matter > what character set is embedded.
But don't rate it too high, since you'll get false positives when people send you legitimate messages with non-ASCII characters in the subject, and that happens even if you never get any mail from furriners (which isn't true for you anyway since you subscribe to this list at least). A somewhat more conservative test is the one I use, which checks to see whether the subject contains non-ASCII characters (in which case encoding is reasonable): header __SUBJ_ASCII Subject !~ /[^\t -~]/ header __SUBJ_EQ_BANG Subject =~ /=\?/ header __SUBJ_ENCODED Subject:raw =~ /=\?/ meta L_SUBJ_GRATUITOUS_ENCODING __SUBJ_ASCII && !__SUBJ_EQ_BANG && __SUBJ_ENCODED describe L_SUBJ_GRATUITOUS_ENCODING Subject is encoded unnecessarily score L_SUBJ_GRATUITOUS_ENCODING 1 I still don't score it very high, since some people's mail programs are set to use subject encoding even when the subject contains only ASCII characters. -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC ------------------------------------------------------- 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