From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25436: 25.1; sendmail does not add a Date: header in FCC Date: Sat, 14 Jan 2017 10:57:52 +0200 Message-ID: <83lgueaui7.fsf@gnu.org> References: <831sw7c9xx.fsf@gnu.org> <83y3yfasel.fsf@gnu.org> <83wpdzapva.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1484384305 4320 195.159.176.226 (14 Jan 2017 08:58:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2017 08:58:25 +0000 (UTC) Cc: 25436-done@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 14 09:58:21 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSKA5-00083W-8W for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jan 2017 09:58:09 +0100 Original-Received: from localhost ([::1]:47027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSKAA-00008q-1h for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jan 2017 03:58:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSKA3-00008T-DQ for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2017 03:58:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSK9y-0000c6-Hg for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2017 03:58:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSK9y-0000bw-EV for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2017 03:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cSK9y-0003ZE-8W for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2017 03:58:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jan 2017 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25436@debbugs.gnu.org, eliz@gnu.org, pot@gnu.org Original-Received: via spool by 25436-done@debbugs.gnu.org id=D25436.148438427713696 (code D ref 25436); Sat, 14 Jan 2017 08:58:02 +0000 Original-Received: (at 25436-done) by debbugs.gnu.org; 14 Jan 2017 08:57:57 +0000 Original-Received: from localhost ([127.0.0.1]:53343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSK9t-0003Yq-DF for submit@debbugs.gnu.org; Sat, 14 Jan 2017 03:57:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSK9s-0003Ye-HK for 25436-done@debbugs.gnu.org; Sat, 14 Jan 2017 03:57:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSK9m-0000SU-Ji for 25436-done@debbugs.gnu.org; Sat, 14 Jan 2017 03:57:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSK9f-0000Lv-3H; Sat, 14 Jan 2017 03:57:43 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4702 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cSK9e-00059L-2x; Sat, 14 Jan 2017 03:57:42 -0500 In-reply-to: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Fri, 13 Jan 2017 19:38:41 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128113 Archived-At: > Date: Fri, 13 Jan 2017 19:38:41 +0100 > From: Francesco Potort́ > Cc: 25436@debbugs.gnu.org, Eli Zaretskii > > >smtpmail-send-it adds Date: at sending time. > > > >sendmail.el has always relied on "sendmail" adding Date:, AFAICS. > >mail-do-fcc only adds Date: for Babyl files. > >Perhaps the date in the mbox From line was assumed to be good enough for > >the alternative case. > > Ok, thanks for checking. That's exactly what I was thinking, but had no > time to verify. > > As far as I understand, the only change needed is in mail-do-fcc: > > > --- sendmail.el 2017-01-13 14:46:08.715407789 +0100 > +++ sendmail.el.orig 2017-01-13 14:46:18.735581196 +0100 > @@ -1408,7 +1408,6 @@ just append to the file, in Babyl format > (require 'mail-utils) > (insert (mail-rfc822-time-zone time) " ") > (goto-char (point-max)) > - (insert "Date: " (mail-rfc822-date) "\n") > (insert-buffer-substring mailbuf) > ;; Make sure messages are separated. > (goto-char (point-max)) Thanks, I preferred to use message-make-date instead. I'm closing the bug, feel free to reopen if something else is missing.