Browse Source

[Rspamd] Pushover fixes

andryyy 5 years ago
parent
commit
1be3ca3fb9
3 changed files with 5 additions and 0 deletions
  1. 1 0
      data/conf/rspamd/meta_exporter/pushover.php
  2. 4 0
      data/web/inc/vars.inc.php
  3. 0 0
      data/web/user.php

+ 1 - 0
data/conf/rspamd/meta_exporter/pushover.php

@@ -201,6 +201,7 @@ foreach ($rcpt_final_mailboxes as $rcpt_final) {
     $text = (!empty($api_data['text'])) ? $api_data['text'] : 'You\'ve got mail 📧';
     $attributes = json_decode($api_data['attributes'], true);
     $senders = explode(',', $api_data['senders']);
+    $senders = array_filter($senders);
     if (!empty($senders) && !in_array($sender, $senders)) {
       error_log("NOTIFY: pushover pipe: skipping unwanted sender " . $sender);
       continue;

+ 4 - 0
data/web/inc/vars.inc.php

@@ -129,6 +129,10 @@ $DOCKER_TIMEOUT = 60;
 // Anonymize IPs logged via UI
 $ANONYMIZE_IPS = true;
 
+// Split DKIM key notation (bind format)
+$SPLIT_DKIM_255 = true;
+
+
 // OAuth2 settings
 $REFRESH_TOKEN_LIFETIME = 2678400;
 $ACCESS_TOKEN_LIFETIME = 86400;

File diff suppressed because it is too large
+ 0 - 0
data/web/user.php


Some files were not shown because too many files changed in this diff