aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-28 19:10:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-28 19:10:06 +0100
commit28bdb6206b11655c66f7596314b19d26ccf06f38 (patch)
tree9ab694a2544df3a12a03774e43fcf86f6dba47f8 /src/plugins
parent70fe412fc5da55f3bd4e1ddeb03eace189d355c3 (diff)
downloadrspamd-28bdb6206b11655c66f7596314b19d26ccf06f38.tar.gz
rspamd-28bdb6206b11655c66f7596314b19d26ccf06f38.zip
[Fix] Fix clickhouse schema
Issue: #1775 Closes: #1775
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/clickhouse.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index ab8d14ae1..3af60a7a0 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -76,7 +76,7 @@ CREATE TABLE IF NOT EXISTS rspamd
IsDkim Enum8('reject' = 0, 'allow' = 1, 'unknown' = 2) DEFAULT CAST('unknown' AS Enum8('reject' = 0, 'allow' = 1, 'unknown' = 2)),
IsDmarc Enum8('reject' = 0, 'allow' = 1, 'unknown' = 2) DEFAULT CAST('unknown' AS Enum8('reject' = 0, 'allow' = 1, 'unknown' = 2)),
NUrls Int32,
- Action Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4) DEFAULT CAST('no action' AS Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4)),
+ Action Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4, 'soft reject' = 5) DEFAULT CAST('no action' AS Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4, 'soft reject' = 5)),
FromUser String,
MimeUser String,
RcptUser String,