aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-27 13:39:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-27 13:39:26 +0000
commit6176ad586b6c312b49d70c2917e38b1d851bda92 (patch)
tree3a4594057890d4ed2ab663ef73bb3d571c362df4 /src/libserver/cfg_file.h
parent2b9068e5f79b444977c007eff37c9749d1e3b3bb (diff)
downloadrspamd-6176ad586b6c312b49d70c2917e38b1d851bda92.tar.gz
rspamd-6176ad586b6c312b49d70c2917e38b1d851bda92.zip
[Feature] Add ignore_received option
In this mode rspamd ignores data from the first received (it might be produced by some third party and not our MTA)
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 17ca4f863..2ed82930b 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -246,6 +246,7 @@ struct rspamd_config {
gboolean allow_raw_input; /**< scan messages with invalid mime */
gboolean disable_hyperscan; /**< disable hyperscan usage */
gboolean enable_shutdown_workaround; /**< enable workaround for legacy SA clients (exim) */
+ gboolean ignore_received; /**< Ignore data from the first received header */
gsize max_diff; /**< maximum diff size for text parts */
gsize max_cores_size; /**< maximum size occupied by rspamd core files */