summaryrefslogtreecommitdiffstats
path: root/src/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-22 20:55:28 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-22 20:55:28 +0400
commitcba8f14abab46234da3089aff075887757ca2afa (patch)
tree3c0a4b76e4e18bd1646d59510b2c7fb84ba35a4a /src/message.h
parentecc3b51cfdd7aecdb7a02791424d8e8cfcd22453 (diff)
downloadrspamd-cba8f14abab46234da3089aff075887757ca2afa.tar.gz
rspamd-cba8f14abab46234da3089aff075887757ca2afa.zip
* Add received headers parser
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index d32c78d7f..a14a92aa4 100644
--- a/src/message.h
+++ b/src/message.h
@@ -29,6 +29,15 @@ struct mime_text_part {
fuzzy_hash_t *fuzzy;
};
+struct received_header {
+ char *from_hostname;
+ char *from_ip;
+ char *real_hostname;
+ char *real_ip;
+ char *by_hostname;
+ int is_error;
+};
+
/**
* Process message with all filters/statfiles, extract mime parts, urls and
* call metrics consolidation functions