Avoid XM_RANDOM FP reported on users list
git-svn-id: https://svn.apache.org/repos/asf/spamassassin/trunk@1886882 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/rulesrc/sandbox/jhardin/20_misc_testing.cf b/rulesrc/sandbox/jhardin/20_misc_testing.cf
index aae1207..a6fd00c 100644
--- a/rulesrc/sandbox/jhardin/20_misc_testing.cf
+++ b/rulesrc/sandbox/jhardin/20_misc_testing.cf
@@ -3795,7 +3795,7 @@
header __XM_UC_ONLY_UNKNOWN X-Mailer =~ /^(?!SM[EF]$|ACEM$|CR$|PHP(?:BB)?\d?$|EMS$|TYPO\d$|WHMCS$|RMM\d?$|GURU$|SMTP$|ZIMACS$|EOW\d|FM$)[^a-z]+$/
header __XM_LC_ONLY X-Mailer =~ /^[^A-Z]+$/
header __XM_LC_ONLY_UNKNOWN X-Mailer =~ /^(?!php|mailer$|sendhtml$)[^A-Z]+$/
-header __XM_RANDOM X-Mailer =~ /q(?!q?mail|\d|[-\w]*=+;)[^u]/i
+header __XM_RANDOM X-Mailer =~ /q(?!q?mail|boxmail|\d|[-\w]*=+;)[^u]/i
header __XM_LIGHT_HEAVY X-Mailer =~ /\b(?:light|(?<!::)lite|standard|business|pro(?:fessional)?|educational|personal)\b/i
header __XM_SMART_SEND X-Mailer =~ /^Smart_Send(?:_\d+)+$/
@@ -3809,6 +3809,10 @@
score XM_DIGITS_ONLY 3.000 # limit
tflags XM_DIGITS_ONLY publish
+# just a check
+header __XM_QBOXMAIL X-Mailer =~ /qboxmail/i
+
+
meta XM_RANDOM __XM_RANDOM && !__STY_INVIS_3 && !__HAS_IN_REPLY_TO
describe XM_RANDOM X-Mailer apparently random
score XM_RANDOM 3.000 # limit