diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 14:24:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 14:24:51 +0000 |
commit | 9accfd257320343df82d15a4ece578d71ec9a89f (patch) | |
tree | ff3efb21a25737f651e755422cee9334fec7a260 /src/libserver/cfg_utils.c | |
parent | f3585bb8b0ecc2dc710c9958484748afad38fec6 (diff) | |
download | rspamd-9accfd257320343df82d15a4ece578d71ec9a89f.tar.gz rspamd-9accfd257320343df82d15a4ece578d71ec9a89f.zip |
Add 'allow_raw_input' option
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 65317b9cd..568efe934 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -183,6 +183,8 @@ rspamd_config_defaults (struct rspamd_config *cfg) "$if_user{ user: $,}$if_smtp_from{ from: <$>,} (default: $is_spam " "($action): [$scores] [$symbols]), len: $len, time: $time_real real," " $time_virtual virtual, dns req: $dns_req"; + /* Allow non-mime input by default */ + cfg->allow_raw_input = TRUE; } void |