http://bugzilla.spamassassin.org/show_bug.cgi?id=2243





------- Additional Comments From [EMAIL PROTECTED]  2004-02-20 07:58 -------
I don't think the rules are in SVN yet. I've been trying them out on my corpus.
Don't think I'm quite there yet. This is my first crack at an eval, and it
doesn't seem to be working right. One glitch I just noticed is that it appears
that Subject: is not a member of ALL headers. Really shouldn't matter for the
logic of my meta rules, though.


header T_ALL_8BITS              ALL =~ /[\x80-\xff]{3,}/
header T_CONTENT_TYPE_8BITS     Content-Type =~ /[\x80-\xff]{3,}/
header T_DATE_8BITS             Date =~ /[\x80-\xff]{3,}/
header T_FROM_8BITS             From =~ /[\x80-\xff]{3,}/
header T_MESSAGEID_8BITS        MESSAGEID =~ /[\x80-\xff]{3,}/
header T_MESSAGE_ID_8BITS       Message-Id =~ /[\x80-\xff]{3,}/
header T_RECEIVED_8BITS         Received =~ /[\x80-\xff]{3,}/
header T_REPLY_TO_8BITS         Reply-To =~ /[\x80-\xff]{3,}/
header T_SUBJECT_8BITS          Subject =~ /[\x80-\xff]{3,}/
header T_TO_8BITS               To =~ /[\x80-\xff]{3,}/
header T_X_INFO_8BITS           X-Info =~ /[\x80-\xff]{3,}/
header T_X_MAILER_8BITS         X-Mailer=~ /[\x80-\xff]{3,}/
header T_X_MIMEOLE_8BITS                X-MimeOLE =~ /[\x80-\xff]{3,}/
header T_X_MSMAIL_PRIORITY_8BITS        X-Msmail-Priority =~ /[\x80-\xff]{3,}/
header T_X_ORIGINATING_EMAIL_8BITS      X-Originating-Email =~ /[\x80-\xff]{3,}/
header T_X_ORIGINATING_HOST_8BITS       X-Originating-Host =~ /[\x80-\xff]{3,}/
header T_X_PRIORITY_8BITS               X-Priority =~ /[\x80-\xff]{3,}/

meta    T_8BIT_HEADERS          ( T_ALL_8BITS && !T_FROM_8BITS && 
!T_SUBJECT_8BITS &&
!T_TO_8BITS && !T_REPLY_TO_8BITS && !T_X_ORIGINATING_EMAIL_8BITS)
meta    T_8BIT_HEADERS2         ( T_ALL_8BITS && !T_FROM_8BITS && 
!T_SUBJECT_8BITS &&
!T_TO_8BITS && !T_REPLY_TO_8BITS)
meta    T_8BIT_HEADERS3         ( T_ALL_8BITS && !T_FROM_8BITS && 
!T_SUBJECT_8BITS &&
!T_TO_8BITS)



  4.482   4.8898   0.0000    1.000   0.99    0.01  T_SUBJECT_8BITS
  2.020   2.2039   0.0000    1.000   0.98    0.01  T_ALL_8BITS
  0.631   0.6887   0.0000    1.000   0.98    0.01  T_TO_8BITS
  0.253   0.2755   0.0000    1.000   0.98    0.01  T_RECEIVED_8BITS
  1.768   1.8595   0.7576    0.711   0.35    0.01  T_FROM_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_ORIGINATING_HOST_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_MIMEOLE_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_MSMAIL_PRIORITY_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_MESSAGEID_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_MAILER_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_INFO_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_8BIT_HEADERS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_REPLY_TO_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_PRIORITY_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_CONTENT_TYPE_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_X_ORIGINATING_EMAIL_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_8BIT_HEADERS2
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_DATE_8BITS
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_8BIT_HEADERS3
  0.000   0.0000   0.0000    0.500   0.12    0.01  T_MESSAGE_ID_8BITS



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to