GNU bug report logs - #25436
25.1; sendmail does not add a Date: header in FCC

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Fri, 13 Jan 2017 14:16:01 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 25436-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Francesco Potortì <pot <at> gnu.org>
Cc: rgm <at> gnu.org, 25436-done <at> debbugs.gnu.org
Subject: Re: bug#25436: 25.1; sendmail does not add a Date: header in FCC
Date: Sat, 14 Jan 2017 10:57:52 +0200
> Date: Fri, 13 Jan 2017 19:38:41 +0100
> From: Francesco Potortì <pot <at> gnu.org>
> Cc: 25436 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
> 
> >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.




This bug report was last modified 8 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.