mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-11 01:54:04 +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} [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} [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 {String} [mailboxes.sent="Sent Mail"] Path of Sent Mail folder
|
||||
* @apiParam {String} [mailboxes.junk="Junk"] Path of spam folder
|
||||
|
@ -1140,7 +1140,7 @@ module.exports = (db, server, userHandler) => {
|
|||
},
|
||||
|
||||
received: {
|
||||
allowed: Number(userData.receivedMax) || 150,
|
||||
allowed: Number(userData.receivedMax) || 60,
|
||||
used: received,
|
||||
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} [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} [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 {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)
|
||||
|
|
Loading…
Reference in a new issue