From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: rmail-reply produces incorrect mail header Date: Sat, 16 Apr 2016 09:24:55 +0300 Message-ID: <83fuumcbpk.fsf@gnu.org> References: <3292-Fri15Apr2016205556+0200-enno.vet@gmx.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460787933 16692 80.91.229.3 (16 Apr 2016 06:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2016 06:25:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 16 08:25:31 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arJff-0007Kw-F6 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 08:25:31 +0200 Original-Received: from localhost ([::1]:49621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arJfe-0004RV-T2 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Apr 2016 02:25:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arJfR-0004PF-Fy for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 02:25:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arJfO-0002W9-AT for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 02:25:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arJfO-0002W5-7L for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 02:25:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2744 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1arJfN-000287-Gz for help-gnu-emacs@gnu.org; Sat, 16 Apr 2016 02:25:13 -0400 In-reply-to: <3292-Fri15Apr2016205556+0200-enno.vet@gmx.net> (message from enno on Fri, 15 Apr 2016 20:55:56 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109774 Archived-At: > Date: Fri, 15 Apr 2016 20:55:56 +0200 > From: enno > > For some time now (starting with emacs23.3) I sometimes experience that rmail-reply (or supercite, or feedmail, or whatever) produces an incorrect `To:' field. Apparently this only happens with mails from certain senders (my father for instance). > > In the past I just deleted the `In-reply-to' header from the reply before sending it, ugly but worked -- unless I forgot to delete... I'm afraid I'm not sufficiently familiar with elisp to figure that one out on my own. > > To me it seems that somehow the header tag `In-reply-to: ' gets lost, resulting in a `To: ' header followed by an `In-reply-to' header WITHOUT header-tag in the following line. But as stated above, this only happens with certain senders, others who supply `In-reply-to: ' as well work without trouble. I use Rmail all the time, and never saw any such problems. > I hit `r' to reply, and what I see seems perfeclty sane: > > v-------------------------------------------------------------------------- > From: enno > To: father@mailhost.xx > In-reply-to: > > (father@mailhost.xx) > [...] > ^-------------------------------------------------------------------------- > > But what is sent out to my smtp smarthost (and thus causes a bounce) looks like: > > v-------------------------------------------------------------------------- > >From enno Fri Apr 15 15:53:24 +0200 2016 > Date: Fri, 15 Apr 2016 15:53:24 +0200 > Message-Id: <1557-Fri15Apr2016155324+0200-enno.vet@gmx.net> > X-Mailer: emacs 24.5.1 (via feedmail 11-beta-1 I) > From: enno > To: father@mailhost.xx > > (father@mailhost.xx) > [...] > ^-------------------------------------------------------------------------- Were you able to establish the factor(s) that cause this breakage? IOW, what is different in those other messages where this doesn't happen? (Or did I misunderstand, and it happens with every message you send in reply to another?) Anyway, I see you are using feedmail to send email from Rmail, is that right? If so, could you try switching to a different back-end, like message-smtp-send-it (which should be the default) or sendmail-send-it? You see, feedmail is almost unused, so it isn't surprising it might have such bugs. If you must stay with feedmail for some reason, please submit a full bug report using "M-x report-emacs-bug RET", with all the details. (Btw, what Emacs version are you using now?)