summaryrefslogtreecommitdiffstats
path: root/src/libmime/email_addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-25 10:10:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-25 10:10:16 +0100
commit5ea8345fa3deb583cc99d9d7aa7659b90aad3743 (patch)
tree9e3d737fea0e9cedf822b1237fb5298ce532de44 /src/libmime/email_addr.h
parenta8ed49768138129c1d4f92e1adae5803219b21cb (diff)
downloadrspamd-5ea8345fa3deb583cc99d9d7aa7659b90aad3743.tar.gz
rspamd-5ea8345fa3deb583cc99d9d7aa7659b90aad3743.zip
[Feature] Unescape and unquote smtp addresses
Diffstat (limited to 'src/libmime/email_addr.h')
-rw-r--r--src/libmime/email_addr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libmime/email_addr.h b/src/libmime/email_addr.h
index 7009c472d..98be33abe 100644
--- a/src/libmime/email_addr.h
+++ b/src/libmime/email_addr.h
@@ -28,7 +28,9 @@ enum rspamd_email_address_flags {
RSPAMD_EMAIL_ADDR_QUOTED = (1 << 3),
RSPAMD_EMAIL_ADDR_EMPTY = (1 << 4),
RSPAMD_EMAIL_ADDR_SMTP = (1 << 5),
- RSPAMD_EMAIL_ADDR_ALLOCATED = (1 << 6),
+ RSPAMD_EMAIL_ADDR_HAS_BACKSLASH = (1 << 6),
+ RSPAMD_EMAIL_ADDR_ADDR_ALLOCATED = (1 << 7),
+ RSPAMD_EMAIL_ADDR_USER_ALLOCATED = (1 << 8),
};
/*