]> git.donarmstrong.com Git - spamassassin_config.git/blob - common/image_spam
* switch to if plugin() instead of ifplugin
[spamassassin_config.git] / common / image_spam
1 # -*- mode: spamassassin -*-
2
3 body     ONE_PNG eval:image_count('png',1,1)
4 describe ONE_PNG Contains exactly one png attachment
5 score    ONE_PNG 0.5
6
7 body     MOSTLY_PNG_IMAGE eval:image_to_text_ratio('png',0,0.2)
8 describe MOSTLY_PNG_IMAGE Contains mostly png image, with little text
9 score    MOSTLY_PNG_IMAGE 2
10
11 body     VIAGRA_IMG_SIZE  eval:image_size('png',370,390,405,425)
12 describe VIAGRA_IMG_SIZE  Matches the size of viagra images
13 score    VIAGRA_IMG_SIZE  2