aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-15 08:33:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-15 08:33:26 +0100
commit5a70a9191f3d0901f03372fabec66634618c91a4 (patch)
treee3cbf44fa2733df3a646227126c58ad2a5f8eff4 /src/libmime
parentb4b74e7d0531a414c93d4416fb7e4176c0a8fca7 (diff)
downloadrspamd-5a70a9191f3d0901f03372fabec66634618c91a4.tar.gz
rspamd-5a70a9191f3d0901f03372fabec66634618c91a4.zip
[Feature] Parse received date and ESMTPA proto
Diffstat (limited to 'src/libmime')
-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 026233f3c..cacb4287b 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -59,6 +59,7 @@ struct mime_text_part {
enum rspamd_received_type {
RSPAMD_RECEIVED_SMTP = 0,
RSPAMD_RECEIVED_ESMTP,
+ RSPAMD_RECEIVED_ESMTPA,
RSPAMD_RECEIVED_ESMTPS,
RSPAMD_RECEIVED_LMTP,
RSPAMD_RECEIVED_IMAP,
@@ -72,8 +73,8 @@ struct received_header {
gchar *real_ip;
gchar *by_hostname;
rspamd_inet_addr_t *addr;
+ time_t timestamp;
enum rspamd_received_type type;
- gint is_error;
};
struct raw_header {