aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-30 16:46:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-30 16:46:37 +0000
commitc90979e9ee739f6584cf732c45e1b5fb7c641b1c (patch)
treed0dc4ae70bd2afc17fe53ccd0766addbfe741a69 /src/libmime/message.h
parent3a98d054f54cd3f558dc3596fdde46d7c456d0fc (diff)
downloadrspamd-c90979e9ee739f6584cf732c45e1b5fb7c641b1c.tar.gz
rspamd-c90979e9ee739f6584cf732c45e1b5fb7c641b1c.zip
[Feature] Do not trust CTE, check base64 and qp strictly
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index c4f0e7a8e..2e0bd6bd5 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -23,7 +23,8 @@ enum rspamd_mime_part_flags {
RSPAMD_MIME_PART_TEXT = (1 << 0),
RSPAMD_MIME_PART_ATTACHEMENT = (1 << 1),
RSPAMD_MIME_PART_IMAGE = (1 << 2),
- RSPAMD_MIME_PART_ARCHIVE = (1 << 3)
+ RSPAMD_MIME_PART_ARCHIVE = (1 << 3),
+ RSPAMD_MIME_PART_BAD_CTE = (1 << 4)
};
enum rspamd_cte {