diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-17 15:35:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-17 15:35:18 +0100 |
commit | f8b0fd41a3b6335d86e9fa3ee25e1e5b12df1c7b (patch) | |
tree | 6076787299388db90e99ba35c6f5d314c576b16a /src/lua | |
parent | 27b858776562a743a6036d5f6e1ee022d2006f79 (diff) | |
download | rspamd-f8b0fd41a3b6335d86e9fa3ee25e1e5b12df1c7b.tar.gz rspamd-f8b0fd41a3b6335d86e9fa3ee25e1e5b12df1c7b.zip |
[Feature] Treat SPF +all in a special way
Issue: #4996
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_spf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_spf.c b/src/lua/lua_spf.c index 46e72202f..a9bcfc80c 100644 --- a/src/lua/lua_spf.c +++ b/src/lua/lua_spf.c @@ -89,6 +89,8 @@ lua_load_spf(lua_State *L) lua_setfield(L, -2, "perm_fail"); lua_pushinteger(L, RSPAMD_SPF_FLAG_CACHED); lua_setfield(L, -2, "cached"); + lua_pushinteger(L, RSPAMD_SPF_FLAG_PLUSALL); + lua_setfield(L, -2, "plusall"); lua_setfield(L, -2, "flags"); |