]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Save into ClickHouse unnamed attaches 3474/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 18 Aug 2020 17:45:30 +0000 (18:45 +0100)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 18 Aug 2020 17:45:30 +0000 (18:45 +0100)
commit11cf19b02cfdcf3cafd2cf4bf8becb477e98261b
treebf999cf35c6100d8dc5d8dc15ba3cd12d5644cfb
parent5098f10c3d713e925bc27053baf1e66e71baea50
[Minor] Save into ClickHouse unnamed attaches

Most MUA allow to save attachments (parts with Content-Disposition: attachment)
even if don't have a name.  Keep name field empty and save other
information about such attachments to ClickHouse: Content-Type, size,
digest.

Modify attachments selector as well to return hashes of unnamed
attachments.
lualib/lua_selectors/extractors.lua
src/plugins/lua/clickhouse.lua