mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
Merge branch 'dev' of https://github.com/andryyy/mailcow-dockerized
This commit is contained in:
commit
e66f566e86
@ -23,7 +23,10 @@ auth_domain_map = rspamd_config:add_map({
|
||||
description = 'Map of domains we are authoritative for'
|
||||
})
|
||||
|
||||
rspamd_config:register_post_filter(function(task)
|
||||
rspamd_config:register_symbol({
|
||||
name = 'TAG_MOO',
|
||||
type = 'postfilter',
|
||||
callback = function(task)
|
||||
local util = require("rspamd_util")
|
||||
local rspamd_logger = require "rspamd_logger"
|
||||
|
||||
@ -41,7 +44,7 @@ rspamd_config:register_post_filter(function(task)
|
||||
|
||||
if action ~= 'no action' and action ~= 'greylist' then
|
||||
rspamd_logger.infox("skipping tag handler for action: %s", action)
|
||||
return false
|
||||
task:set_metric_action('default', action)
|
||||
end
|
||||
|
||||
if authdomain then
|
||||
@ -67,7 +70,9 @@ rspamd_config:register_post_filter(function(task)
|
||||
end
|
||||
return false
|
||||
end
|
||||
end)
|
||||
end,
|
||||
priority = 10
|
||||
})
|
||||
|
||||
rspamd_config.MRAPTOR = {
|
||||
callback = function(task)
|
||||
|
@ -3320,7 +3320,7 @@ function mailbox_edit_alias_domain($postarray) {
|
||||
$stmt = $pdo->prepare("UPDATE `alias_domain` SET
|
||||
`alias_domain` = :alias_domain,
|
||||
`active` = :active,
|
||||
`modified` = :modified,
|
||||
`modified` = :modified
|
||||
WHERE `alias_domain` = :alias_domain_now");
|
||||
$stmt->execute(array(
|
||||
':alias_domain' => $alias_domain,
|
||||
|
Loading…
Reference in New Issue
Block a user