mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-31 05:28:20 +00:00
[Rspamd] More explicit Sendgrid ID checking
This commit is contained in:
3 files changed
+68
-7
No files matched your search
@@ -1,3 +1,10 @@
|
||||
-- Load sendgrid ID validator, thanks to https://github.com/fatalbanana
|
||||
local rspamd_util = require 'rspamd_util'
|
||||
local f = '/etc/rspamd/lua/ivm-sg.lua'
|
||||
if rspamd_util.file_exists(f) then
|
||||
dofile(f)
|
||||
end
|
||||
|
||||
rspamd_config.MAILCOW_AUTH = {
|
||||
callback = function(task)
|
||||
local uname = task:get_user()
|
||||
|
||||
Reference in new issue
Block a user