mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
Added Return-Path header in LMTP
This commit is contained in:
parent
3b53a80860
commit
5cbaa4c77a
1 changed files with 1 additions and 1 deletions
2
lmtp.js
2
lmtp.js
|
@ -142,7 +142,7 @@ const serverOptions = {
|
|||
|
||||
// create Delivered-To and Received headers
|
||||
let header = Buffer.from(
|
||||
'Delivered-To: ' + recipient + '\r\n'
|
||||
['Delivered-To: ' + recipient, 'Return-Path: <' + (sender || '') + '>'].join('\r\n') + '\r\n'
|
||||
//+ 'Received: ' + generateReceivedHeader(session, queueId, os.hostname().toLowerCase(), recipient) + '\r\n'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue