mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-10-09 05:18:19 +08:00
updated receivedMax definition
This commit is contained in:
parent
eac64a3533
commit
cc08421ab8
1 changed files with 3 additions and 3 deletions
|
@ -352,7 +352,7 @@ module.exports = (db, server, userHandler) => {
|
||||||
* @apiParam {Number} [imapMaxUpload] How many bytes can be uploaded via IMAP during 24 hour
|
* @apiParam {Number} [imapMaxUpload] How many bytes can be uploaded via IMAP during 24 hour
|
||||||
* @apiParam {Number} [imapMaxDownload] How many bytes can be downloaded via IMAP during 24 hour
|
* @apiParam {Number} [imapMaxDownload] How many bytes can be downloaded via IMAP during 24 hour
|
||||||
* @apiParam {Number} [pop3MaxDownload] How many bytes can be downloaded via POP3 during 24 hour
|
* @apiParam {Number} [pop3MaxDownload] How many bytes can be downloaded via POP3 during 24 hour
|
||||||
* @apiParam {Number} [receivedMax] How many messages can be received from MX during 1 hour
|
* @apiParam {Number} [receivedMax] How many messages can be received from MX during 60 seconds
|
||||||
* @apiParam {Object} [mailboxes] Optional names for special mailboxes
|
* @apiParam {Object} [mailboxes] Optional names for special mailboxes
|
||||||
* @apiParam {String} [mailboxes.sent="Sent Mail"] Path of Sent Mail folder
|
* @apiParam {String} [mailboxes.sent="Sent Mail"] Path of Sent Mail folder
|
||||||
* @apiParam {String} [mailboxes.junk="Junk"] Path of spam folder
|
* @apiParam {String} [mailboxes.junk="Junk"] Path of spam folder
|
||||||
|
@ -1140,7 +1140,7 @@ module.exports = (db, server, userHandler) => {
|
||||||
},
|
},
|
||||||
|
|
||||||
received: {
|
received: {
|
||||||
allowed: Number(userData.receivedMax) || 150,
|
allowed: Number(userData.receivedMax) || 60,
|
||||||
used: received,
|
used: received,
|
||||||
ttl: receivedTtl >= 0 ? receivedTtl : false
|
ttl: receivedTtl >= 0 ? receivedTtl : false
|
||||||
},
|
},
|
||||||
|
@ -1210,7 +1210,7 @@ module.exports = (db, server, userHandler) => {
|
||||||
* @apiParam {Number} [imapMaxUpload] How many bytes can be uploaded via IMAP during 24 hour
|
* @apiParam {Number} [imapMaxUpload] How many bytes can be uploaded via IMAP during 24 hour
|
||||||
* @apiParam {Number} [imapMaxDownload] How many bytes can be downloaded via IMAP during 24 hour
|
* @apiParam {Number} [imapMaxDownload] How many bytes can be downloaded via IMAP during 24 hour
|
||||||
* @apiParam {Number} [pop3MaxDownload] How many bytes can be downloaded via POP3 during 24 hour
|
* @apiParam {Number} [pop3MaxDownload] How many bytes can be downloaded via POP3 during 24 hour
|
||||||
* @apiParam {Number} [receivedMax] How many messages can be received from MX during 1 hour
|
* @apiParam {Number} [receivedMax] How many messages can be received from MX during 60 seconds
|
||||||
* @apiParam {Boolean} [disable2fa] If true, then disables 2FA for this user
|
* @apiParam {Boolean} [disable2fa] If true, then disables 2FA for this user
|
||||||
* @apiParam {String[]} disabledScopes List of scopes that are disabled for this user ("imap", "pop3", "smtp")
|
* @apiParam {String[]} disabledScopes List of scopes that are disabled for this user ("imap", "pop3", "smtp")
|
||||||
* @apiParam {Boolean} [disabled] If true then disables user account (can not login, can not receive messages)
|
* @apiParam {Boolean} [disabled] If true then disables user account (can not login, can not receive messages)
|
||||||
|
|
Loading…
Add table
Reference in a new issue