public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Moore Pushover fixes
7fa10cc3
data/web/inc/functions.pushover.inc.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Diff
diff --git a/data/web/inc/functions.pushover.inc.php b/data/web/inc/functions.pushover.inc.php
index 08019364..feb96a33 100644
--- a/data/web/inc/functions.pushover.inc.php
+++ b/data/web/inc/functions.pushover.inc.php
@@ -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;
}
-}
\ No newline at end of file
+}