mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-02-01 12:50:06 +08:00
Set APPEND max size in config
This commit is contained in:
parent
db2e462580
commit
ae4a8fe800
2 changed files with 5 additions and 2 deletions
|
@ -31,7 +31,9 @@ module.exports = {
|
|||
host: '127.0.0.1',
|
||||
//key: '/path/to/server/key.pem'
|
||||
//cert: '/path/to/server/cert.pem'
|
||||
secure: true
|
||||
secure: true,
|
||||
// Max size for messages uploaded via APPEND
|
||||
maxMB: 5
|
||||
},
|
||||
|
||||
lmtp: {
|
||||
|
|
3
imap.js
3
imap.js
|
@ -24,7 +24,8 @@ let serverOptions = {
|
|||
info: log.silly.bind(log, 'IMAP'),
|
||||
debug: log.silly.bind(log, 'IMAP'),
|
||||
error: log.error.bind(log, 'IMAP')
|
||||
}
|
||||
},
|
||||
maxMessage: config.imap.maxMB * 1024 * 1024
|
||||
};
|
||||
|
||||
if (config.imap.key) {
|
||||
|
|
Loading…
Reference in a new issue