Browse Source

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 6 years ago
parent
commit
27d60840ef
2 changed files with 1 additions and 7 deletions
  1. 0 6
      data/conf/rspamd/local.d/policies_group.conf
  2. 1 1
      data/web/user.php

+ 0 - 6
data/conf/rspamd/local.d/policies_group.conf

@@ -11,19 +11,13 @@ symbols = {
     "R_DKIM_REJECT" {
         score = 10.0;
     }
-    "R_DKIM_PERMFAIL" {
-        score = 10.0;
-    }
     "DMARC_POLICY_REJECT" {
         weight = 20.0;
-        description = "DMARC reject policy";
     }
     "DMARC_POLICY_QUARANTINE" {
         weight = 10.0;
-        description = "DMARC quarantine policy";
     }
     "DMARC_POLICY_SOFTFAIL" {
         weight = 2.0;
-        description = "DMARC failed";
     }
 }

+ 1 - 1
data/web/user.php

@@ -77,7 +77,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
   $username = $_SESSION['mailcow_cc_username'];
   $mailboxdata = mailbox('get', 'mailbox_details', $username);
 
-  $clientconfigstr = "host=" . urlencode($mailcow_hostname) . "&email=" . urlencode($username) . "&name=" . urlencode($mailboxdata['name']) . "&ui=" . strtok(urlencode($_SERVER['HTTP_HOST']), ':') . "&port=" . urlencode($autodiscover_config['caldav']['port']);
+  $clientconfigstr = "host=" . urlencode($mailcow_hostname) . "&email=" . urlencode($username) . "&name=" . urlencode($mailboxdata['name']) . "&ui=" . urlencode(strtok($_SERVER['HTTP_HOST'], ':')) . "&port=" . urlencode($autodiscover_config['caldav']['port']);
   if ($autodiscover_config['useEASforOutlook'] == 'yes')
   $clientconfigstr .= "&outlookEAS=1";
   if (file_exists('thunderbird-plugins/version.csv')) {