mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-15 12:50:15 +00:00
Merge pull request #7632 from mailcow/fix/7489
[Rspamd] Quarantine stored nothing without Q_EXCLUDE_DOMAINS
This commit is contained in:
1 file changed
+1
-1
@@ -109,7 +109,7 @@ foreach ($rcpts as $rcpt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Skip if domain is excluded
|
// Skip if domain is excluded
|
||||||
if (in_array($parsed_rcpt['domain'], $exclude_domains)) {
|
if (is_array($exclude_domains) && in_array($parsed_rcpt['domain'], $exclude_domains)) {
|
||||||
error_log(sprintf("QUARANTINE: Skipped domain %s", $parsed_rcpt['domain']) . PHP_EOL);
|
error_log(sprintf("QUARANTINE: Skipped domain %s", $parsed_rcpt['domain']) . PHP_EOL);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user