From 5cbaa4c77a25b9143a7d0452d128c361193d694d Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Wed, 23 Aug 2017 15:59:40 +0300 Subject: [PATCH] Added Return-Path header in LMTP --- lmtp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmtp.js b/lmtp.js index 1fdf9c43..36ea7e36 100644 --- a/lmtp.js +++ b/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' );