mailcow/data/conf/rspamd/lua/rspamd.local.lua

15 lines
279 B
Lua
Raw Normal View History

2016-12-10 03:39:02 +08:00
rspamd_config.MAILCOW_AUTH = {
callback = function(task)
local uname = task:get_user()
if uname then
return 1
end
end
}
2016-12-10 07:39:27 +08:00
rspamd_config.MAILCOW_MOO = function (task)
return true
end
rspamd_config:add_map('http://nginx:8081/settings.php', "settings map", process_map)