# this is the set of automatic response spam scores
include auto_response_spam
+# this is a set of image-specific spam rules
+tryplugin Mail::SpamAssassin::Plugin::ImageInfo
+ifplugin Mail::SpamAssassin::Plugin::ImageInfo
+ include image_spam
+endif
+
meta DIGEST_MULTIPLE RAZOR2_CHECK + PYZOR_CHECK > 1
describe DIGEST_MULTIPLE Message hits more than one network digest check
tflags DIGEST_MULTIPLE net
+# -*- mode: spamassassin -*-
# this contains headers and such which are Debian specific
# cord, 20050811
header XPRPACKAGE_INSTALLREPORT X-Debian-PR-Package =~ /installation-reports/
describe XPRPACKAGE_INSTALLREPORT Install reports sometimes contain infos that trigger to much other test
score XPRPACKAGE_INSTALLREPORT -2
+
+# we bump the score of vacation up here
+score VACATIONMAIL 5
--- /dev/null
+# -*- mode: spamassassin -*-
+
+body ONE_PNG eval:image_count('png',1,1)
+describe ONE_PNG Contains exactly one png attachment
+score ONE_PNG 0.5
+
+body MOSTLY_PNG_IMAGE eval:image_to_text_ratio('png',0,0.2)
+describe MOSTLY_PNG_IMAGE Contains mostly png image, with little text
+score MOSTLY_PNG_IMAGE 2
+
+body VIAGRA_IMG_SIZE eval:image_size('png',370,390,405,425)
+describe VIAGRA_IMG_SIZE Matches the size of viagra images
+score VIAGRA_IMG_SIZE 2