Merge pull request #7632 from mailcow/fix/7489

[Rspamd] Quarantine stored nothing without Q_EXCLUDE_DOMAINS
This commit is contained in:
FreddleSpl0it authored and GitHub committed 2026-11-09 23:22:11 +01:00
commit 24780ea5fb
1 file changed
+1 -1
+1 -1
View File
@@ -109,7 +109,7 @@ foreach ($rcpts as $rcpt) {
}
// 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);
continue;
}