From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 24 Nov 2025 17:31:50 +0000 (+0100) Subject: Update milter reply settings in lua_task.c X-Git-Tag: 3.14.1~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5763%2Fhead;p=thirdparty%2Frspamd.git Update milter reply settings in lua_task.c --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index d242bbe76d..0ee334d078 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1009,6 +1009,11 @@ task:set_milter_reply({ add_headers = {['X-Lua'] = 'test'}, -- 1 is the position of header to remove remove_headers = {['DKIM-Signature'] = 1}, + -- change smtp from + change_from = 'sender@example.com', + -- add and/or remove smtp rcpts + add_rcpt = {'new-rcpt1@example.com', 'new-rcpt2@example.com'}, + del_rcpt = {'old-rcpt1@example.com', 'old-rcpt2@example.com'}, }) */ LUA_FUNCTION_DEF(task, set_milter_reply);