I just tried to do this myself, and I got the expected result.  So I
am not sure this is nmh's fault.

>Received: from unix.hobbeshollow.com (localhost [127.0.0.1])
>       by unix.hobbeshollow.com (Postfix) with ESMTP id 08B8CAE0
>       for <[email protected]>; Sat,  8 Jun 2013 12:49:35 -0400 (EDT)
>To: [email protected]
>From: [email protected]
>Reply-To: [email protected]
>Subject: testing messages
>Date: Sat, 08 Jun 2013 12:49:34 -0400
>Message-Id: <[email protected]>

So ... the _text_ of the message contains a Received: line?  That
suggests to me that nmh is _not_ at fault, because nmh will never add a
Received: header to a draft.

I am guessing by the headers of this message (which was your message
body) that you are using SMTP to submit to a copy of postfix running on
your local machine (either directly with smtp, or via running sendmail
-bs).  This suggests to me that the problem lies somewhere within the
local instance of Postfix.  You said that Mailx doesn't do the same thing,
but I suspect that the difference there is that it's feeding the message
to sendmail on standard input (sendmail -t) instead of speaking SMTP.

Now, as for solutions ... well, you could test to see if this is the problem
by setting up send/post to send to another server.  Or you could simply
replicate it by running /usr/sbin/sendmail -bs and doing SMTP yourself
with a hand-crafted message.

--Ken

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to