mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-02-27 01:15:33 +08:00
Fixed SMTP maildrop
This commit is contained in:
parent
9e5b1cf257
commit
0bfe7e88e4
1 changed files with 1 additions and 1 deletions
2
smtp.js
2
smtp.js
|
@ -71,7 +71,7 @@ const server = new SMTPServer({
|
|||
log.error('SMTP', err);
|
||||
return callback(new Error('Database error'));
|
||||
}
|
||||
if (user) {
|
||||
if (!user) {
|
||||
return callback(new Error('Unknown recipient'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue