aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/email_addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-16 12:29:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-16 12:29:01 +0100
commitc47156cb81dd8b3a9b04967da91310740cdf211f (patch)
tree99e08828246a87fbc635fe5f8649e7495d2d932f /src/libmime/email_addr.h
parent8167af6e6515eda26296fcaaf8a742bbf468348b (diff)
downloadrspamd-c47156cb81dd8b3a9b04967da91310740cdf211f.tar.gz
rspamd-c47156cb81dd8b3a9b04967da91310740cdf211f.zip
[Fix] Fix various issues with parsing of the received headers
Diffstat (limited to 'src/libmime/email_addr.h')
-rw-r--r--src/libmime/email_addr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libmime/email_addr.h b/src/libmime/email_addr.h
index 8c9b54713..129d2ba44 100644
--- a/src/libmime/email_addr.h
+++ b/src/libmime/email_addr.h
@@ -51,6 +51,19 @@ struct rspamd_email_address {
guchar flags;
};
+struct received_header;
+struct rspamd_task;
+/**
+ * Try to parse SMTP comment to process stupid Exim received headers
+ * @param task
+ * @param data
+ * @param len
+ * @param rh
+ */
+void rspamd_smtp_maybe_process_smtp_comment (struct rspamd_task *task,
+ const char *data, size_t len,
+ struct received_header *rh);
+
/**
* Create email address from a single rfc822 address (e.g. from mail from:)
* @param str string to use