mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-14 02:16:01 +00:00
[Rspamd] Moore Pushover fixes
This commit is contained in:
@@ -54,6 +54,7 @@ function pushover($_action, $_data = null) {
|
||||
unset($senders[$i]);
|
||||
continue;
|
||||
}
|
||||
$senders[$i] = preg_replace('/\.(?=.*?@gmail\.com$)/', '$1', $sender);
|
||||
}
|
||||
$senders = array_filter($senders);
|
||||
if (empty($senders)) { $senders = ''; }
|
||||
|
||||
Reference in New Issue
Block a user