diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-30 15:57:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-30 15:57:04 +0100 |
commit | 5c25ee1ccb70479b63e24b90d2baf4573ed19951 (patch) | |
tree | 73ea803dc07a3be05e991a91c03b6e89ee68ebc1 /src/plugins/lua | |
parent | 162b69d568210372475ca79bcefba8c070875b05 (diff) | |
download | rspamd-5c25ee1ccb70479b63e24b90d2baf4573ed19951.tar.gz rspamd-5c25ee1ccb70479b63e24b90d2baf4573ed19951.zip |
[Minor] Clickhouse: Use original smtp from
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/clickhouse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 7ef093cc2..130ee9d1e 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -490,7 +490,7 @@ local function clickhouse_collect(task) local from_domain = '' local from_user = '' if task:has_from('smtp') then - local from = task:get_from('smtp')[1] + local from = task:get_from({'smtp','orig'})[1] if from then from_domain = from['domain']:lower() |