summaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 14:22:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 14:22:37 +0000
commitf7200dd41947e09e42d6528b16b659532c3c7b5a (patch)
tree3e4ddb152914b29c0129264fda03c5c7aaef85b7 /src/rspamd_proxy.c
parent2ac0fbea2763ff9913c7924495c39869ddad924b (diff)
downloadrspamd-f7200dd41947e09e42d6528b16b659532c3c7b5a.tar.gz
rspamd-f7200dd41947e09e42d6528b16b659532c3c7b5a.zip
[Minor] Milter: Add support of quarantine and discard actions
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index aff866bb4..9ea2b0d74 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -2245,6 +2245,7 @@ start_rspamd_proxy (struct rspamd_worker *worker) {
ctx->milter_ctx.sessions_cache = ctx->sessions_cache;
ctx->milter_ctx.client_ca_name = ctx->client_ca_name;
ctx->milter_ctx.reject_message = ctx->reject_message;
+ ctx->milter_ctx.cfg = ctx->cfg;
rspamd_milter_init_library (&ctx->milter_ctx);
rspamd_lua_run_postloads (ctx->cfg->lua_state, ctx->cfg, ctx->ev_base,