aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-21 23:04:39 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-21 23:04:39 +0000
commit37dc6224e26c51ad2c44efb9ab68d31773719946 (patch)
tree384e25b631fde65a8981ade15699cb3e7f26af3d /src/plugins/lua/spamassassin.lua
parente23ba461ca354299330ff95abc8ae26fc84aeb63 (diff)
downloadrspamd-37dc6224e26c51ad2c44efb9ab68d31773719946.tar.gz
rspamd-37dc6224e26c51ad2c44efb9ab68d31773719946.zip
Add some more replacements
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index b064947ff..cbee2c90e 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -71,7 +71,14 @@ local symbols_replacements = {
URIBL_ABUSE_SURBL = 'ABUSE_SURBL',
-- Misc rules
BODY_URI_ONLY = 'R_EMPTY_IMAGE',
-
+ HTML_IMAGE_ONLY_04 = 'HTML_SHORT_LINK_IMG_1',
+ HTML_IMAGE_ONLY_08 = 'HTML_SHORT_LINK_IMG_1',
+ HTML_IMAGE_ONLY_12 = 'HTML_SHORT_LINK_IMG_1',
+ HTML_IMAGE_ONLY_16 = 'HTML_SHORT_LINK_IMG_2',
+ HTML_IMAGE_ONLY_20 = 'HTML_SHORT_LINK_IMG_2',
+ HTML_IMAGE_ONLY_24 = 'HTML_SHORT_LINK_IMG_3',
+ HTML_IMAGE_ONLY_28 = 'HTML_SHORT_LINK_IMG_3',
+ HTML_IMAGE_ONLY_32 = 'HTML_SHORT_LINK_IMG_3',
}
-- Internal variables