mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-04 20:03:11 +08:00
u
This commit is contained in:
parent
4082b88147
commit
b2f410d8db
1 changed files with 2 additions and 1 deletions
3
lmtp.js
3
lmtp.js
|
@ -267,8 +267,9 @@ const serverOptions = {
|
||||||
};
|
};
|
||||||
|
|
||||||
let sendAutoreply = done => {
|
let sendAutoreply = done => {
|
||||||
|
log.info('dddd', JSON.stringify({ sender, user }));
|
||||||
// never reply to messages marked as spam
|
// never reply to messages marked as spam
|
||||||
if (!sender || !user.autoreply || !user.autoreply.status || !user.autoreply.message || filterActions.get('spam')) {
|
if (!sender || !user.autoreply || filterActions.get('spam')) {
|
||||||
return setImmediate(done);
|
return setImmediate(done);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue