LUA_TASK_SET_FLAG (flag, "broken_headers",
RSPAMD_TASK_FLAG_BROKEN_HEADERS, set);
LUA_TASK_SET_FLAG (flag, "greylisted", RSPAMD_TASK_FLAG_GREYLISTED, set);
+ LUA_TASK_SET_FLAG (flag, "skip_process", RSPAMD_TASK_FLAG_SKIP_PROCESS, set);
if (!found) {
msg_warn_task ("unknown flag requested: %s", flag);
LUA_TASK_GET_FLAG (flag, "greylisted", RSPAMD_TASK_FLAG_GREYLISTED);
LUA_TASK_GET_FLAG (flag, "broken_headers",
RSPAMD_TASK_FLAG_BROKEN_HEADERS);
+ LUA_TASK_GET_FLAG (flag, "skip_process",
+ RSPAMD_TASK_FLAG_SKIP_PROCESS);
LUA_TASK_GET_FLAG (flag, "milter",
RSPAMD_TASK_FLAG_MILTER);
lua_pushstring (L, "greylisted");
lua_rawseti (L, -2, idx++);
break;
+ case RSPAMD_TASK_FLAG_SKIP_PROCESS:
+ lua_pushstring (L, "skip_process");
+ lua_rawseti (L, -2, idx++);
+ break;
case RSPAMD_TASK_FLAG_MILTER:
lua_pushstring (L, "milter");
lua_rawseti (L, -2, idx++);