aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/content_type.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-28 15:38:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-28 15:38:47 +0100
commita89cf52149a0790378ae21440406e6ea52780b58 (patch)
treee4301d97d3aeec6015b3d2aeb68f267b2228c5a5 /src/libmime/content_type.h
parentd0e464183bae561583cd77b5389e8c0e8e6a149f (diff)
downloadrspamd-a89cf52149a0790378ae21440406e6ea52780b58.tar.gz
rspamd-a89cf52149a0790378ae21440406e6ea52780b58.zip
[Fix] Disable text detection heuristics for encrypted parts
Issue: #3349
Diffstat (limited to 'src/libmime/content_type.h')
-rw-r--r--src/libmime/content_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/content_type.h b/src/libmime/content_type.h
index 49bba4269..3991e6785 100644
--- a/src/libmime/content_type.h
+++ b/src/libmime/content_type.h
@@ -32,6 +32,7 @@ enum rspamd_content_type_flags {
RSPAMD_CONTENT_TYPE_MESSAGE = 1 << 3,
RSPAMD_CONTENT_TYPE_DSN = 1 << 4,
RSPAMD_CONTENT_TYPE_MISSING = 1 << 5,
+ RSPAMD_CONTENT_TYPE_ENCRYPTED = 1 << 1,
};
enum rspamd_content_param_flags {