GNU bug report logs - #22754
25.1.50; Rmail does not follow RFC 2822

Previous Next

Package: emacs;

Reported by: Marcin Borkowski <mbork <at> mbork.pl>

Date: Sun, 21 Feb 2016 10:30:02 UTC

Severity: minor

Found in version 25.1.50

Done: Marcin Borkowski <mbork <at> mbork.pl>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 22754 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: mbork <at> mbork.pl, 22754 <at> debbugs.gnu.org
Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822
Date: Mon, 22 Feb 2016 21:23:22 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: Marcin Borkowski <mbork <at> mbork.pl>,  22754 <at> debbugs.gnu.org
> Date: Mon, 22 Feb 2016 13:14:53 -0500
> 
> Eli Zaretskii wrote:
> 
> >> From: Marcin Borkowski <mbork <at> mbork.pl>
> >> Date: Sun, 21 Feb 2016 11:28:27 +0100
> >> 
> >> Rmail inserts lower-case field names in the header, which goes against
> >> RFC 2822 (pp. 22 and 23, see
> >> https://tools.ietf.org/html/rfc2822#page-22).  It seems that the problem
> >> affects Cc: and In-reply-to: fields.
> >
> > I use Rmail all the time, and these headers are capitalized in my
> > reply messages.  So please provide a recipe starting from "emacs -Q",
> > there could be some other factor at work here.
> 
> I assume it was a theoretical analysis...
> 
> With sendmail-user-agent, mail-setup inserts "Cc" and "In-reply-to"
> directly (apparently the latter should be "In-Reply-To"?), ignoring the
> case passed via other-headers.
> 
> With message-user-agent, message-mail explicitly uses capitalize on all
> headers.

Yes, that's exactly what I saw.

> I suppose there's no guarantee that some other mail-user-agent won't use
> the headers as supplied, but perhaps that would be a bug in the
> user-agent?

If that's the problem, I think we can safely close this bug (perhaps
after fixing the "In-reply-to" letter-case).




This bug report was last modified 9 years and 90 days ago.

Previous Next


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