- Also clean up X_PHP_EVAL rule
reconf['INVALID_POSTFIX_RECEIVED'] = 'Received=/ \\(Postfix\\) with ESMTP id [A-Z\\d]+([\\s\\r\\n]+for <\\S+?>)?;[\\s\\r\\n]*[A-Z][a-z]{2}, \\d{1,2} [A-Z][a-z]{2} \\d\\d\\d\\d \\d\\d:\\d\\d:\\d\\d [\\+\\-]\\d\\d\\d\\d$/X'
reconf['X_PHP_EVAL'] = {
- re = "X-PHP-Originating-Script=/\\s:\\seval\\(\\)'d code$/X",
+ re = "X-PHP-Originating-Script=/ : eval\\(\\)'d code$/X",
score = 4.0,
- description = "Message sent by eval()'d php code",
+ description = "Message sent by eval()'d PHP code",
group = 'header'
}
local ip_addr = task:get_ip()
if task:get_user() or (ip_addr and ip_addr:is_local()) then
- rspamd_logger.infox(task, "skip SPF checks for local networks and authorized users");
+ rspamd_logger.infox(task, "skip DMARC checks for local networks and authorized users");
return
end
if from and from[1] and from[1]['domain'] and not from[2] then