aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime/mime_headers.h')
-rw-r--r--src/libmime/mime_headers.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/libmime/mime_headers.h b/src/libmime/mime_headers.h
index 14ece02e6..03a7beae9 100644
--- a/src/libmime/mime_headers.h
+++ b/src/libmime/mime_headers.h
@@ -28,15 +28,18 @@ enum rspamd_rfc2047_encoding {
enum rspamd_mime_header_special_type {
RSPAMD_HEADER_GENERIC = 0,
- RSPAMD_HEADER_RECEIVED = 1,
- RSPAMD_HEADER_TO,
- RSPAMD_HEADER_CC,
- RSPAMD_HEADER_BCC,
- RSPAMD_HEADER_FROM,
- RSPAMD_HEADER_MESSAGE_ID,
- RSPAMD_HEADER_SUBJECT,
- RSPAMD_HEADER_RETURN_PATH,
- RSPAMD_HEADER_DELIVERED_TO,
+ RSPAMD_HEADER_RECEIVED = 1 << 0,
+ RSPAMD_HEADER_TO = 1 << 2,
+ RSPAMD_HEADER_CC = 1 << 3,
+ RSPAMD_HEADER_BCC = 1 << 4,
+ RSPAMD_HEADER_FROM = 1 << 5,
+ RSPAMD_HEADER_MESSAGE_ID = 1 << 6,
+ RSPAMD_HEADER_SUBJECT = 1 << 7,
+ RSPAMD_HEADER_RETURN_PATH = 1 << 8,
+ RSPAMD_HEADER_DELIVERED_TO = 1 << 9,
+ RSPAMD_HEADER_SENDER = 1 << 10,
+ RSPAMD_HEADER_RCPT = 1 << 11,
+ RSPAMD_HEADER_UNIQUE = 1 << 12
};
struct rspamd_mime_header {