-
-
-
diff --git a/data/web/js/site/debug.js b/data/web/js/site/debug.js
index 866dba2c..6b08113e 100644
--- a/data/web/js/site/debug.js
+++ b/data/web/js/site/debug.js
@@ -304,7 +304,6 @@ jQuery(function($){
function draw_sasl_logs() {
ft_api_logs = FooTable.init('#sasl_logs', {
"columns": [
- {"name":"success","title":lang.success,"filterable": false,"style":{"width":"30px"}},
{"name":"username","title":lang.username},
{"name":"service","title":lang.service},
{"name":"real_rip","title":"IP"},
@@ -710,12 +709,6 @@ jQuery(function($){
if (item.service == "smtp") { item.service = '
' + item.service.toUpperCase() + '
'; }
else if (item.service == "imap") { item.service = '
' + item.service.toUpperCase() + '
'; }
else { item.service = '
' + item.service.toUpperCase() + '
'; }
- if (item.success == 0) {
- item.success = '
';
- }
- else {
- item.success = '
';
- }
});
} else if (table == 'general_syslog') {
$.each(data, function (i, item) {
diff --git a/data/web/js/site/edit.js b/data/web/js/site/edit.js
index 5a27da10..786a5995 100644
--- a/data/web/js/site/edit.js
+++ b/data/web/js/site/edit.js
@@ -28,11 +28,6 @@ $(document).ready(function() {
$('#mailbox-passwd-hidden-info').addClass('hidden');
$('#mailbox-passwd-form-groups').removeClass('hidden');
});
- // Preview XMPP JID
- $('.xmpp-prefix-preview').text($("#xmpp-prefix").val());
- $("#xmpp-prefix").bind("change keypress keyup blur", function() {
- $('.xmpp-prefix-preview').text($(this).val());
- });
// Sender ACL
if ($("#editSelectSenderACL option[value='\*']:selected").length > 0){
$("#sender_acl_disabled").show();
@@ -146,4 +141,4 @@ jQuery(function($){
}
draw_wl_policy_domain_table();
draw_bl_policy_domain_table();
-});
\ No newline at end of file
+});
diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js
index 0a6d7ece..db32cd0c 100644
--- a/data/web/js/site/mailbox.js
+++ b/data/web/js/site/mailbox.js
@@ -24,7 +24,12 @@ $(document).ready(function() {
.appendTo($form_grp);
$.each(domains, function(i, domain){
- self.$domain.append($('
').text(domain));
+ domainname = $($.parseHTML(domain)).data('domainname')
+ if (domainname !== undefined) {
+ self.$domain.append($('
').text(domainname));
+ } else {
+ self.$domain.append($('
').text(domain));
+ }
});
},
_onDomainDropdownChanged: function(e){
@@ -256,7 +261,6 @@ jQuery(function($){
{"name":"rl","title":"RL","breakpoints":"xs sm md lg","style":{"maxWidth":"100px","width":"100px"}},
{"name":"backupmx","filterable": false,"style":{"maxWidth":"120px","width":"120px"},"title":lang.backup_mx,"breakpoints":"xs sm md lg","formatter": function(value){return 1==value?'
':0==value&&'
';}},
{"name":"domain_admins","title":lang.domain_admins,"style":{"word-break":"break-all","min-width":"200px"},"breakpoints":"xs sm md lg","filterable":(role == "admin"),"visible":(role == "admin")},
- {"name":"xmpp","filterable": false,"style":{"maxWidth":"80px","width":"80px"},"title":"XMPP","formatter": function(value){return 1==value?'
':0==value&&'
';}},
{"name":"active","filterable": false,"style":{"maxWidth":"80px","width":"80px"},"title":lang.active,"formatter": function(value){return 1==value?'
':0==value&&'
';}},
{"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right","maxWidth":"240px","width":"240px"},"type":"html","title":lang.action,"breakpoints":"xs sm md"}
],
@@ -829,7 +833,7 @@ jQuery(function($){
item.goto = '
Learn as ham';
}
if (item.in_primary_domain !== "") {
- item.domain = '
' + item.domain;
+ item.domain = '
' + item.domain;
}
});
}
diff --git a/data/web/lang/lang.de.json b/data/web/lang/lang.de.json
index ae1cefde..598b9320 100644
--- a/data/web/lang/lang.de.json
+++ b/data/web/lang/lang.de.json
@@ -304,6 +304,7 @@
"rsettings_preset_1": "Alles außer DKIM und Ratelimits für authentifizierte Benutzer deaktivieren",
"rsettings_preset_2": "Spam an Postmaster-Adressen nicht blockieren",
"rsettings_preset_3": "Nur einem oder vielen Absendern erlauben, eine Mailbox anzuschreiben (etwa interne Mailboxen)",
+ "rsettings_preset_4": "Rspamd für eine Domain deaktivieren",
"rspamd-com_settings": "Ein Name wird automatisch generiert. Beispielinhalte zur Einsicht stehen nachstehend bereit. Siehe auch
Rspamd docs",
"rspamd_global_filters": "Globale Filter-Maps",
"rspamd_global_filters_agree": "Ich werde vorsichtig sein!",
diff --git a/data/web/lang/lang.en.json b/data/web/lang/lang.en.json
index 9a641dcf..4f873f8f 100644
--- a/data/web/lang/lang.en.json
+++ b/data/web/lang/lang.en.json
@@ -302,6 +302,7 @@
"rsettings_preset_1": "Disable all but DKIM and rate limit for authenticated users",
"rsettings_preset_2": "Postmasters want spam",
"rsettings_preset_3": "Only allow specific senders for a mailbox (i.e. usage as internal mailbox only)",
+ "rsettings_preset_4": "Disable Rspamd for a domain",
"rspamd-com_settings": "A setting name will be auto-generated, please see the example presets below. For more details see
Rspamd docs",
"rspamd_global_filters": "Global filter maps",
"rspamd_global_filters_agree": "I will be careful!",
diff --git a/data/web/user.php b/data/web/user.php
index 1d47b050..732a71e9 100644
--- a/data/web/user.php
+++ b/data/web/user.php
@@ -306,21 +306,6 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
=$lang['user']['mailbox_details'];?>
-
-
-
-
-
-
-
=$mailboxdata['local_part'];?>@=$mailboxdata['domain_xmpp_prefix'];?>.=$mailboxdata['domain'];?>
-
-
Administrator
-
-
-
-
-
-