From 31de3ff7fd95f0842f48c7b4bf0d79c20fd88367 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Wed, 7 Mar 2018 21:07:00 +0800
Subject: [PATCH] Sync iRedAdmin-Pro RESTful API doc.
---
en_US/iredadmin/0-iredadmin-pro.restful.api.new.md | 4 ++--
html/iredadmin-pro.restful.api.new.html | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/en_US/iredadmin/0-iredadmin-pro.restful.api.new.md b/en_US/iredadmin/0-iredadmin-pro.restful.api.new.md
index 98a0dcf3..2556005b 100644
--- a/en_US/iredadmin/0-iredadmin-pro.restful.api.new.md
+++ b/en_US/iredadmin/0-iredadmin-pro.restful.api.new.md
@@ -433,7 +433,7 @@ Notes:
`subscription_moderators` | `subscription_moderators=,,` | | Specify subscription moderators. Note: if `subscription_moderators` is given, `moderate_subscription` will be set to `yes` automatically. If no valid moderators are given, subscription will be moderated by owner(s).
`owner` | `owner=,,` | | Define owner(s) of the mailing list. Owners will get mails sent to `+owner@`.
`moderators` | `moderators=,` | | Specify moderators of the mailing list. Set to empty value will remove all existing moderators.
- `maxmailsize` | `maxmailsize=10240` | | Specify max mail message size in __bytes__.
+ `max_message_size` | `max_message_size=10240` | | Specify max mail message size in __bytes__.
`subject_prefix` | `subject_prefix=[prefix text]` | | Add a prefix in the `Subject:` line of mails sent to the list. Set to empty value to remove it.
`custom_headers` | `custom_headers=:\n:` | | Add custom headers to every mail coming through. Multiple headers must be separated by `\n`. Set empty value to remove it. Note: mlmmjadmin will always add `X-Mailing-List: ` and `Reply-To: ` for each mailing list account.
`remove_headers` | `remove_headers=Message-ID,Received` | | Remove given mail headers. NOTE: either `header:` or `header` (without `:`) is ok. Note: mlmmjadmin will always remove `DKIM-Signature:` and `Authentication-Results:`.
@@ -485,7 +485,7 @@ Notes:
`subscription_moderators` | `subscription_moderators=,,` | | Specify subscription moderators. Note: if `subscription_moderators` is given, `moderate_subscription` will be set to `yes` automatically. If no valid moderators are given, subscription will be moderated by owner(s).
`owner` | `owner=,,` | | Define owner(s) of the mailing list. Owners will get mails sent to `+owner@`.
`moderators` | `moderators=,` | | Specify moderators of the mailing list. Set to empty value will remove all existing moderators.
- `maxmailsize` | `maxmailsize=10240` | | Specify max mail message size in __bytes__.
+ `max_message_size` | `max_message_size=10240` | | Specify max mail message size in __bytes__.
`subject_prefix` | `subject_prefix=[prefix text]` | | Add a prefix in the `Subject:` line of mails sent to the list. Set to empty value to remove it.
`custom_headers` | `custom_headers=:\n:` | | Add custom headers to every mail coming through. Multiple headers must be separated by `\n`. Set empty value to remove it. Note: mlmmjadmin will always add `X-Mailing-List: ` and `Reply-To: ` for each mailing list account.
`remove_headers` | `remove_headers=Message-ID,Received` | | Remove given mail headers. NOTE: either `header:` or `header` (without `:`) is ok. Note: mlmmjadmin will always remove `DKIM-Signature:` and `Authentication-Results:`.
diff --git a/html/iredadmin-pro.restful.api.new.html b/html/iredadmin-pro.restful.api.new.html
index 38c55953..16dee485 100644
--- a/html/iredadmin-pro.restful.api.new.html
+++ b/html/iredadmin-pro.restful.api.new.html
@@ -1271,8 +1271,8 @@ to be a domain admin.
Specify moderators of the mailing list. Set to empty value will remove all existing moderators. |
-maxmailsize |
-maxmailsize=10240 |
+max_message_size |
+max_message_size=10240 |
|
Specify max mail message size in bytes. |
@@ -1511,8 +1511,8 @@ to be a domain admin.
Specify moderators of the mailing list. Set to empty value will remove all existing moderators. |
-maxmailsize |
-maxmailsize=10240 |
+max_message_size |
+max_message_size=10240 |
|
Specify max mail message size in bytes. |