mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-13 08:34:53 +08:00
do not allow renaming INBOX
This commit is contained in:
parent
ee6793c938
commit
3dfe10760f
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class MailboxHandler {
|
|||
if (!mailboxData) {
|
||||
return callback(null, 'NONEXISTENT');
|
||||
}
|
||||
if (mailboxData.specialUse) {
|
||||
if (mailboxData.specialUse || mailboxData.path === 'INBOX') {
|
||||
return callback(null, 'CANNOT');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue