Returns a list of existing mail aliases. Adding ?format=json to the URL will give JSON-encoded results.
POST
/add
Adds a new mail alias. Required POST-body parameters are address and forwards_to.
POST
/remove
Removes a mail alias. Required POST-body parameter is address.
@@ -153,7 +155,7 @@ function show_aliases() {
function(r) {
$('#alias_table tbody').html("");
for (var i = 0; i < r.length; i++) {
- var hdr = $("
");
+ var hdr = $("
");
hdr.find('th').text(r[i].domain);
$('#alias_table tbody').append(hdr);
diff --git a/management/templates/custom-dns.html b/management/templates/custom-dns.html
index 7d3b6b37..f91e288b 100644
--- a/management/templates/custom-dns.html
+++ b/management/templates/custom-dns.html
@@ -64,12 +64,12 @@
created
-
-
Domain Name
-
Record Type
-
Value
-
-
+
+
Domain Name
+
Record Type
+
Value
+
+
Loading...
@@ -119,7 +119,9 @@
Verbs
-
Verb
Usage
+
Verb
Usage
+
GET
Returns matching custom DNS records as a JSON array of objects. Each object has the keys qname, rtype, and value. The optional qname and rtype parameters in the request URL filter the records returned in the response. The request body (-d "...") must be omitted.
PUT
Sets a custom DNS record replacing any existing records with the same qname and rtype. Use PUT (instead of POST) when you only have one value for a qname and rtype, such as typical A records (without round-robin).
POST
Adds a new custom DNS record. Use POST when you have multiple TXT records or round-robin A records. (PUT would delete previously added records.)
@@ -129,7 +131,9 @@
Parameters
-
Parameter
Value
+
+
Parameter
Value
+
email
The email address of any administrative user here.
password
That user’s password.
qname
The fully qualified domain name for the record you are trying to set. It must be one of the domain names or a subdomain of one of the domain names hosted on this box. (Add mail users or aliases to add new domains.)
@@ -214,7 +218,7 @@ function show_current_custom_dns_update_after_sort() {
var last_zone = null;
for (var i = 0; i < data.length; i++) {
if (sort_key == "qname" && data[i].zone != last_zone) {
- var r = $("
On iOS devices, devices on this compatibility list, or using Outlook 2007 or later on Windows 7 and later, you may set up your mail as an Exchange or ActiveSync server. However, we’ve found this to be more buggy than using IMAP as described above. If you encounter any problems, please use the manual settings above.
-
Server
{{hostname}}
-
Options
Secure Connection
+
Server
{{hostname}}
+
Options
Secure Connection
Your device should also provide a contacts list and calendar that syncs to this box when you use this method.
@@ -101,7 +101,7 @@ function show_tls(keep_provisioning_shown) {
$('#ssldomain').html('');
$('#ssl_domains').show();
for (var i = 0; i < domains.length; i++) {
- var row = $("
@@ -48,7 +48,7 @@ function show_web() {
tb.text('');
for (var i = 0; i < domains.length; i++) {
if (!domains[i].static_enabled) continue;
- var row = $("