mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-04 10:24:42 +02:00
[Rspamd] Moore Pushover fixes
This commit is contained in:
parent
6efe0d5aab
commit
7fa10cc3b4
@ -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 = ''; }
|
||||
@ -196,4 +197,4 @@ function pushover($_action, $_data = null) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user