authenticated_headers = {},
extended_headers_rcpt = {},
routines = {
+ ['remove-header'] = {
+ remove = 1,
+ },
['x-spamd-result'] = {
header = 'X-Spamd-Result',
remove = 1,
end
end
+ routines['remove-header'] = function()
+ if skip_wanted('remove-header') then return end
+ if settings.routines['remove-header'].header and settings.routines['x-rspamd-server'].remove then
+ remove[settings.routines['remove-header'].header] = settings.routines['remove-header'].remove
+ end
+ end
+
routines['x-rspamd-server'] = function()
if skip_wanted('x-rspamd-server') then return end
if settings.routines['x-rspamd-server'].remove then