Return-Path problem
I have been Googling, and reading the manual, but I cannot find a
solution for this. I am a newbie with MUTT, and mail administration in
general.
I have a script that runs the following command:
echo "" | mutt -x -a "+ACQ-MAILMX_ATTACHMENT" -s "+ACQ-MAILMX_SUBJECT"
"+ACQ-MAILMX_TO"
I have added the following 2 lines to my /etc/Muttrc file:
set hdrs=yes
my_hdr From: +ACQ-REPLYTO
I now also set REPLYTO in the script I run above, and the e-mails now go
through with the following line in the header of the e-mail:
for example: if REPLYTO is set to dirkm@xxxxxxxxxxxxxxxxx, then
From: dirkm@xxxxxxxxxxxxxxxxx
Problem:
--------
When I open the header of the e-mail received, the return-path of the
mail is different from the From: part of the mail. The return-path is
always set to root@xxxxxxxxxxxxxxxxxxxxxx
How can I change this, so that it reflects the same address that is in
the From: part of the e-mail ?
Example of the header:
----------------------
Microsoft Mail Internet Headers Version 2.0
thread-index: Acifzg086BWhduw+-R0CWZwxxWQNY5Q==
Content-Transfer-Encoding: 7bit
Content-Class: urn:content-classes:message
Received: from oraapp1.caretech.co.za ([xxx.xxx.xxx.xx]) by
## THIS PART IS WRONG - SHOULD BE SAME AS FROM: PART BELOW
ctmail.caretech.co.za with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16
Apr 2008 16:27:30 +-0200
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
Received: by oraapp1.caretech.co.za (Postfix, from userid 0) id
EA9CAB0D; Wed, 16 Apr 2008 16:20:57 +-0200 (SAST)
Date: Wed, 16 Apr 2008 16:20:57 +-0200
From: "root" <erika.mommsen@xxxxxxxxxxxx>
## THIS PART IS CORRECT (DUE TO THE 2 LINES ADDED TO THE MUTTRC FILE)
To: <dirkm@xxxxxxxxxxxxxxxxx>
Subject: Receipt file Confirmation
Message-ID: <20080416142057.GA13893@xxxxxxxxxxxxxxxxxxxxxx>
Reply-To: <erika.mommsen@xxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="45Z9DzgjV8m4Oswq"
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Return-Path: <root@xxxxxxxxxxxxxxxxxxxxxx>
## RETURN-PATH IS WRONG
X-OriginalArrivalTime: 16 Apr 2008 14:27:30.0153 (UTC)
FILETIME=[008F4D90:01C89FCE]
--45Z9DzgjV8m4Oswq
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset="us-ascii"
Content-Disposition: inline
--45Z9DzgjV8m4Oswq
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset="us-ascii";
name="Not_Loaded.txt"
Content-Disposition: attachment;
filename="Not_Loaded.txt"
--45Z9DzgjV8m4Oswq--
*** Disclaimer ***
The information contained in this e-mail is confidential and legally privileged
and is intended solely for the addressee and to others who have the authority
to receive it. Access to this e-mail by anyone else is unauthorized and as
such, any disclosure, copying, distribution or any action taken or omitted in
reliance on it is unlawful. If you have received this e-mail in error, please
notify the sender immediately.
The views expressed in this e-mail are the views of the individual sender and
should in no way be construed as the views of the Company.
The Company is not liable to ensure that outgoing e-mails are virus-free.
The Company is not liable, should information or data, for whatever reason, be
corrupted or fail to reach its intended addressee.
The Company is not liable for any loss or damage of whatsoever nature and
howsoever arising resulting from the opening or the use of the information in
this e-mail, including its attachments and links.
The sender of this e-mail is subject to and bound by the terms and conditions
of Company+IBk-s Electronic Communications Usage Policy.