From unknown Mon Jun 23 16:44:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22754 <22754@debbugs.gnu.org> To: bug#22754 <22754@debbugs.gnu.org> Subject: Status: 25.1.50; Rmail does not follow RFC 2822 Reply-To: bug#22754 <22754@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:44:49 +0000 retitle 22754 25.1.50; Rmail does not follow RFC 2822 reassign 22754 emacs submitter 22754 Marcin Borkowski severity 22754 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 05:29:24 2016 Received: (at submit) by debbugs.gnu.org; 21 Feb 2016 10:29:24 +0000 Received: from localhost ([127.0.0.1]:35808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXRGT-0005g9-2L for submit@debbugs.gnu.org; Sun, 21 Feb 2016 05:29:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45078) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXRGQ-0005fw-P2 for submit@debbugs.gnu.org; Sun, 21 Feb 2016 05:29:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXRGI-0001Oc-Oh for submit@debbugs.gnu.org; Sun, 21 Feb 2016 05:29:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXRGI-0001OW-M3 for submit@debbugs.gnu.org; Sun, 21 Feb 2016 05:29:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXRGF-0008WH-EW for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 05:29:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXRGC-0001NC-3p for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 05:29:07 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:47513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXRGB-0001N0-LD for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 05:29:04 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 6A02E9D2005 for ; Sun, 21 Feb 2016 11:28:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjw4y5dcExrn for ; Sun, 21 Feb 2016 11:28:32 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 12F369D2004 for ; Sun, 21 Feb 2016 11:28:30 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: bug-gnu-emacs@gnu.org Subject: 25.1.50; Rmail does not follow RFC 2822 Date: Sun, 21 Feb 2016 11:28:27 +0100 Message-ID: <87d1rquzlg.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Dear Devs, 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. Below is a simple patch which seems to help. Best, mbork --8<---------------cut here---------------start------------->8--- diff -u --label /home/mbork/ludzie-works/emacs/emacs/lisp/mail/rmail.el -= -label \#\ /home/mbork/ludzie-works/emacs/emacs/lisp/m= ail/rmail.el /tmp/buffer-content-1903Vxh --- /home/mbork/ludzie-works/emacs/emacs/lisp/mail/rmail.el +++ # @@ -3699,8 +3699,8 @@ ;; point and mark (see doc of sc-cite-original). (setq yank-action `(rmail-yank-current-message ,replybuffer))) - (push (cons "cc" cc) other-headers) - (push (cons "in-reply-to" in-reply-to) other-headers) + (push (cons "Cc" cc) other-headers) + (push (cons "In-reply-to" in-reply-to) other-headers) (setq other-headers (mapcar #'(lambda (elt) (cons (car elt) (if (stringp (cdr elt)) Diff finished. Sun Feb 21 11:24:47 2016 --8<---------------cut here---------------end--------------->8--- In GNU Emacs 25.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.28) of 2016-02-10 built on jane Repository revision: 4ccd2688911b90bcb8cdcd2a8de608e09471a91a Windowing system distributor 'Fedora Project', version 11.0.11704000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LC_COLLATE: pl_PL.UTF-8 value of $LC_CTYPE: pl_PL.UTF-8 value of $LC_MESSAGES: pl_PL.UTF-8 value of $LANG: pl_PL.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Diff Minor modes in effect: whitespace-mode: t semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-m= ode semantic-show-unmatched-syntax-mode) S))) diff-auto-refine-mode: t global-git-commit-mode: t shell-dirtrack-mode: t beeminder-org-integration-mode: t TeX-PDF-mode: t pdf-occur-global-minor-mode: t yas-global-mode: t yas-minor-mode: t savehist-mode: t ivy-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Contacting host: debbugs.gnu.org:80 Wrote /tmp/debbugs19037cV/bug_18590.mbox Counting messages...done Showing message 16...done Computing summary lines...done Showing message 1...done (New file) Mark set [4 times] You can run the command =E2=80=98diff-buffer-with-file=E2=80=99 with M-x = d-b-w RET Mark set [2 times] Load-path shadows: ~/works/marcin/emacs/my-scrolls hides ~/.emacs.d/my-el-files/my-scrolls ~/works/marcin/emacs/org-insert-habit hides ~/.emacs.d/my-el-files/org-in= sert-habit ~/works/marcin/emacs/magic-tex-dollar hides ~/.emacs.d/my-el-files/magic-= tex-dollar ~/works/marcin/emacs/zero-to-hyphen hides ~/.emacs.d/my-el-files/zero-to-= hyphen ~/works/marcin/emacs/jumping-tab hides ~/.emacs.d/my-el-files/jumping-tab ~/works/marcin/emacs/ppauza hides ~/.emacs.d/my-el-files/ppauza ~/works/marcin/emacs/tie hides ~/.emacs.d/my-el-files/tie ~/ludzie-works/emacs/sierotki hides ~/.emacs.d/contrib/sierotki ~/ludzie-works/emacs/org-reveal/ox-reveal hides ~/.emacs.d/contrib/ox-rev= eal ~/.emacs.d/contrib/org-learn hides ~/ludzie-works/emacs/org-mode/contrib/= lisp/org-learn ~/.emacs.d/contrib/org-drill hides ~/ludzie-works/emacs/org-mode/contrib/= lisp/org-drill ~/ludzie-works/emacs/dired-details+ hides /home/mbork/.emacs.d/elpa/dired= -details+-1.0/dired-details+ ~/ludzie-works/emacs/dired-details hides /home/mbork/.emacs.d/elpa/dired-= details-1.3.1/dired-details ~/ludzie-works/emacs/org-mode/contrib/lisp/htmlize hides /home/mbork/.ema= cs.d/elpa/htmlize-1.39/htmlize ~/works/marcin/emacs/pascal hides /usr/local/share/emacs/25.1.50/lisp/pro= gmodes/pascal ~/ludzie-works/emacs/org-mode/lisp/org-capture hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-capture ~/ludzie-works/emacs/org-mode/lisp/ob-ledger hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-ledger ~/ludzie-works/emacs/org-mode/lisp/ox-man hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-man ~/ludzie-works/emacs/org-mode/lisp/ob-shen hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-shen ~/ludzie-works/emacs/org-mode/lisp/org-ctags hides /usr/local/share/emacs= /25.1.50/lisp/org/org-ctags ~/ludzie-works/emacs/org-mode/lisp/org-eshell hides /usr/local/share/emac= s/25.1.50/lisp/org/org-eshell ~/ludzie-works/emacs/org-mode/lisp/org-faces hides /usr/local/share/emacs= /25.1.50/lisp/org/org-faces ~/ludzie-works/emacs/org-mode/lisp/ob-sass hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-sass ~/ludzie-works/emacs/org-mode/lisp/org-footnote hides /usr/local/share/em= acs/25.1.50/lisp/org/org-footnote ~/ludzie-works/emacs/org-mode/lisp/org-macs hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-macs ~/ludzie-works/emacs/org-mode/lisp/org-loaddefs hides /usr/local/share/em= acs/25.1.50/lisp/org/org-loaddefs ~/ludzie-works/emacs/org-mode/lisp/ox-html hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ox-html ~/ludzie-works/emacs/org-mode/lisp/ob-plantuml hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-plantuml ~/ludzie-works/emacs/org-mode/lisp/ob-gnuplot hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-gnuplot ~/ludzie-works/emacs/org-mode/lisp/ob-io hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-io ~/ludzie-works/emacs/org-mode/lisp/ob-ruby hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-ruby ~/ludzie-works/emacs/org-mode/lisp/ob-mscgen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-mscgen ~/ludzie-works/emacs/org-mode/lisp/ob-lilypond hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-lilypond ~/ludzie-works/emacs/org-mode/lisp/ob-maxima hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-maxima ~/ludzie-works/emacs/org-mode/lisp/ob-lob hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-lob ~/ludzie-works/emacs/org-mode/lisp/ob-comint hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-comint ~/ludzie-works/emacs/org-mode/lisp/ob-java hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-java ~/ludzie-works/emacs/org-mode/lisp/org-version hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-version ~/ludzie-works/emacs/org-mode/lisp/org-bibtex hides /usr/local/share/emac= s/25.1.50/lisp/org/org-bibtex ~/ludzie-works/emacs/org-mode/lisp/ox-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-latex ~/ludzie-works/emacs/org-mode/lisp/ox-odt hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-odt ~/ludzie-works/emacs/org-mode/lisp/ob-table hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-table ~/ludzie-works/emacs/org-mode/lisp/org-crypt hides /usr/local/share/emacs= /25.1.50/lisp/org/org-crypt ~/ludzie-works/emacs/org-mode/lisp/org-gnus hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-gnus ~/ludzie-works/emacs/org-mode/lisp/ob-lisp hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-lisp ~/ludzie-works/emacs/org-mode/lisp/org-pcomplete hides /usr/local/share/e= macs/25.1.50/lisp/org/org-pcomplete ~/ludzie-works/emacs/org-mode/lisp/org-rmail hides /usr/local/share/emacs= /25.1.50/lisp/org/org-rmail ~/ludzie-works/emacs/org-mode/lisp/ob-core hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-core ~/ludzie-works/emacs/org-mode/lisp/ob-scala hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-scala ~/ludzie-works/emacs/org-mode/lisp/ox-md hides /usr/local/share/emacs/25.= 1.50/lisp/org/ox-md ~/ludzie-works/emacs/org-mode/lisp/ob-matlab hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-matlab ~/ludzie-works/emacs/org-mode/lisp/ox-icalendar hides /usr/local/share/em= acs/25.1.50/lisp/org/ox-icalendar ~/ludzie-works/emacs/org-mode/lisp/ob-ref hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-ref ~/ludzie-works/emacs/org-mode/lisp/ox-ascii hides /usr/local/share/emacs/= 25.1.50/lisp/org/ox-ascii ~/ludzie-works/emacs/org-mode/lisp/ob-awk hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-awk ~/ludzie-works/emacs/org-mode/lisp/org-indent hides /usr/local/share/emac= s/25.1.50/lisp/org/org-indent ~/ludzie-works/emacs/org-mode/lisp/org-mouse hides /usr/local/share/emacs= /25.1.50/lisp/org/org-mouse ~/ludzie-works/emacs/org-mode/lisp/ox hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ox ~/ludzie-works/emacs/org-mode/lisp/ob-latex hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-latex ~/ludzie-works/emacs/org-mode/lisp/ob-eval hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-eval ~/ludzie-works/emacs/org-mode/lisp/ob-calc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-calc ~/ludzie-works/emacs/org-mode/lisp/ob-tangle hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-tangle ~/ludzie-works/emacs/org-mode/lisp/ob-picolisp hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-picolisp ~/ludzie-works/emacs/org-mode/lisp/org-attach hides /usr/local/share/emac= s/25.1.50/lisp/org/org-attach ~/ludzie-works/emacs/org-mode/lisp/org-entities hides /usr/local/share/em= acs/25.1.50/lisp/org/org-entities ~/ludzie-works/emacs/org-mode/lisp/org-compat hides /usr/local/share/emac= s/25.1.50/lisp/org/org-compat ~/ludzie-works/emacs/org-mode/lisp/org-src hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-src ~/ludzie-works/emacs/org-mode/lisp/ox-beamer hides /usr/local/share/emacs= /25.1.50/lisp/org/ox-beamer ~/ludzie-works/emacs/org-mode/lisp/ox-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ox-org ~/ludzie-works/emacs/org-mode/lisp/ob-screen hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-screen ~/ludzie-works/emacs/org-mode/lisp/org-mobile hides /usr/local/share/emac= s/25.1.50/lisp/org/org-mobile ~/ludzie-works/emacs/org-mode/lisp/ob-ocaml hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ocaml ~/ludzie-works/emacs/org-mode/lisp/ob-fortran hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-fortran ~/ludzie-works/emacs/org-mode/lisp/org-bbdb hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-bbdb ~/ludzie-works/emacs/org-mode/lisp/ob-emacs-lisp hides /usr/local/share/e= macs/25.1.50/lisp/org/ob-emacs-lisp ~/ludzie-works/emacs/org-mode/lisp/org-habit hides /usr/local/share/emacs= /25.1.50/lisp/org/org-habit ~/ludzie-works/emacs/org-mode/lisp/org-irc hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-irc ~/ludzie-works/emacs/org-mode/lisp/org-w3m hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-w3m ~/ludzie-works/emacs/org-mode/lisp/ob-js hides /usr/local/share/emacs/25.= 1.50/lisp/org/ob-js ~/ludzie-works/emacs/org-mode/lisp/ob-R hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-R ~/ludzie-works/emacs/org-mode/lisp/org-colview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-colview ~/ludzie-works/emacs/org-mode/lisp/ob-dot hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-dot ~/ludzie-works/emacs/org-mode/lisp/org-list hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-list ~/ludzie-works/emacs/org-mode/lisp/ob-sqlite hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-sqlite ~/ludzie-works/emacs/org-mode/lisp/ob-keys hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-keys ~/ludzie-works/emacs/org-mode/lisp/ox-publish hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-publish ~/ludzie-works/emacs/org-mode/lisp/ob-asymptote hides /usr/local/share/em= acs/25.1.50/lisp/org/ob-asymptote ~/ludzie-works/emacs/org-mode/lisp/org-timer hides /usr/local/share/emacs= /25.1.50/lisp/org/org-timer ~/ludzie-works/emacs/org-mode/lisp/ob-ditaa hides /usr/local/share/emacs/= 25.1.50/lisp/org/ob-ditaa ~/ludzie-works/emacs/org-mode/lisp/org-id hides /usr/local/share/emacs/25= .1.50/lisp/org/org-id ~/ludzie-works/emacs/org-mode/lisp/org-macro hides /usr/local/share/emacs= /25.1.50/lisp/org/org-macro ~/ludzie-works/emacs/org-mode/lisp/org-mhe hides /usr/local/share/emacs/2= 5.1.50/lisp/org/org-mhe ~/ludzie-works/emacs/org-mode/lisp/ob-haskell hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-haskell ~/ludzie-works/emacs/org-mode/lisp/org-datetree hides /usr/local/share/em= acs/25.1.50/lisp/org/org-datetree ~/ludzie-works/emacs/org-mode/lisp/ob-C hides /usr/local/share/emacs/25.1= .50/lisp/org/ob-C ~/ludzie-works/emacs/org-mode/lisp/ob-sql hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-sql ~/ludzie-works/emacs/org-mode/lisp/org hides /usr/local/share/emacs/25.1.= 50/lisp/org/org ~/ludzie-works/emacs/org-mode/lisp/ob-octave hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-octave ~/ludzie-works/emacs/org-mode/lisp/ob-perl hides /usr/local/share/emacs/2= 5.1.50/lisp/org/ob-perl ~/ludzie-works/emacs/org-mode/lisp/ob-css hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-css ~/ludzie-works/emacs/org-mode/lisp/ob-clojure hides /usr/local/share/emac= s/25.1.50/lisp/org/ob-clojure ~/ludzie-works/emacs/org-mode/lisp/org-archive hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-archive ~/ludzie-works/emacs/org-mode/lisp/ox-texinfo hides /usr/local/share/emac= s/25.1.50/lisp/org/ox-texinfo ~/ludzie-works/emacs/org-mode/lisp/ob-org hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-org ~/ludzie-works/emacs/org-mode/lisp/ob-exp hides /usr/local/share/emacs/25= .1.50/lisp/org/ob-exp ~/ludzie-works/emacs/org-mode/lisp/org-agenda hides /usr/local/share/emac= s/25.1.50/lisp/org/org-agenda ~/ludzie-works/emacs/org-mode/lisp/org-feed hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-feed ~/ludzie-works/emacs/org-mode/lisp/org-info hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-info ~/ludzie-works/emacs/org-mode/lisp/org-plot hides /usr/local/share/emacs/= 25.1.50/lisp/org/org-plot ~/ludzie-works/emacs/org-mode/lisp/org-install hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-install ~/ludzie-works/emacs/org-mode/lisp/org-inlinetask hides /usr/local/share/= emacs/25.1.50/lisp/org/org-inlinetask ~/ludzie-works/emacs/org-mode/lisp/org-docview hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-docview ~/ludzie-works/emacs/org-mode/lisp/ob hides /usr/local/share/emacs/25.1.5= 0/lisp/org/ob ~/ludzie-works/emacs/org-mode/lisp/org-protocol hides /usr/local/share/em= acs/25.1.50/lisp/org/org-protocol ~/ludzie-works/emacs/org-mode/lisp/ob-scheme hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-scheme ~/ludzie-works/emacs/org-mode/lisp/ob-makefile hides /usr/local/share/ema= cs/25.1.50/lisp/org/ob-makefile ~/ludzie-works/emacs/org-mode/lisp/org-table hides /usr/local/share/emacs= /25.1.50/lisp/org/org-table ~/ludzie-works/emacs/org-mode/lisp/org-clock hides /usr/local/share/emacs= /25.1.50/lisp/org/org-clock ~/ludzie-works/emacs/org-mode/lisp/ob-python hides /usr/local/share/emacs= /25.1.50/lisp/org/ob-python ~/ludzie-works/emacs/org-mode/lisp/org-element hides /usr/local/share/ema= cs/25.1.50/lisp/org/org-element /home/mbork/.emacs.d/elpa/emms-20141202.1202/tq hides /usr/local/share/em= acs/25.1.50/lisp/emacs-lisp/tq Features: (shadow emacsbug whitespace find-dired grep magit-extras org-table face-remap time view battery image-file two-column info-look tex+ ox-oddmuse diary-lib diary-loaddefs cal-iso iso-transl org-datetree quail tabify org-capture eww mm-url url-queue calc-map calc-alg calccomp calc-incom calc-ext calc-misc calc-menu calc-aent calc calc-loaddefs calc-macs cal-move context-en context pdf-sync pdf-annot pdf-outline pdf-links pdf-history ld-script plain-tex arc-mode archive-mode sh-script smie dired-aux epa-file ox-odt rng-loc rng-uri rng-parse rng-match rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-org ox-html ox-beamer ox-latex ox-publish ox shr-color dabbrev tmm diff counsel lispy swiper iedit iedit-lib lispy-inline avy semantic/bovine/el semantic/format semantic/tag-ls semantic/find semantic/ctxt semantic/db-el eieio-opt semantic/bovine semantic/db eieio-base etags ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff lispy-tags debug rmailsum rmailmm rmail rmail-loaddefs gnus-async gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-ml gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nndoc gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader mm-archive network-stream nsm starttls url-cache debbugs-gnu debbugs soap-client warnings rng-xsd rng-dt rng-util xsd-regexp xml edebug pulse xref project vc-git texmathp multi-replace-regex vc vc-dispatcher vc-hg preview prv-emacs tex-buf adaptive-wrap font-latex latex tex-style tex-mode latexenc emms-volume emms-volume-amixer sgml-mode shr dom subr-x qp character-fold misearch multi-isearch timezone parse-time executable mail-extr sort em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-log magit-apply magit-wip magit-diff smerge-mode diff-mode magit-core magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util add-log with-editor tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dash colir color beeminder ewoc anaphora request url-http tls gnutls url-auth url-gw puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap json map typopunct sierotki emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat tex crm pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile cus-edit cus-start cus-load wid-edit pdf-view bookmark pp pdf-cache pdf-info tq pdf-util yasnippet org-info org-habit org-agenda org-docview org-tree-slide org-timer org-drill savehist org-id hi-lock org-learn org-protocol org-clock ledger-mode ledger-schedule ledger-xact ledger-texi ledger-test ledger-state ledger-sort ledger-report ledger-reconcile ledger-post ledger-occur ledger-init ledger-fonts ledger-exec ledger-context ledger-complete ledger-commodities esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell esh-module esh-mode esh-arg esh-util ledger-regex rx hydra lv gnus-dired org-mu4e org-element avl-tree org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs mu4e-contrib mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa derived browse-url comint ansi-color ring mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido seq rfc2368 smtpmail sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode mu4e-lists mu4e-vars message format-spec rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader hl-line cl mu4e-meta advice ivy delsel ffap thingatpt edmacro kmacro server dired-x dired dired-loaddefs paren finder-inf adaptive-wrap-autoloads tex-site dired+-autoloads dired-details+-autoloads dired-details-autoloads dired-dups-autoloads dired-efap-autoloads f-autoloads flycheck-autoloads git-gutter-fringe-autoloads fringe-helper-autoloads git-gutter-autoloads htmlize-autoloads markdown-mode-autoloads epl-autoloads js2-mode-autoloads typopunct-autoloads info dash-autoloads package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache url-vars time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1902618 307752) (symbols 48 84830 0) (miscs 40 9524 8402) (strings 32 361040 88925) (string-bytes 1 19365990) (vectors 16 113961) (vector-slots 8 2518261 72620) (floats 8 39348 7747) (intervals 56 128934 1174) (buffers 976 204) (heap 1024 160373 36304)) --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 10:42:44 2016 Received: (at submit) by debbugs.gnu.org; 21 Feb 2016 15:42:44 +0000 Received: from localhost ([127.0.0.1]:36500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXW9k-0006Uu-6s for submit@debbugs.gnu.org; Sun, 21 Feb 2016 10:42:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40522) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXW9i-0006Uh-Bq for submit@debbugs.gnu.org; Sun, 21 Feb 2016 10:42:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXW9c-0006Ct-AJ for submit@debbugs.gnu.org; Sun, 21 Feb 2016 10:42:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXW9c-0006Cp-6v for submit@debbugs.gnu.org; Sun, 21 Feb 2016 10:42:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXW9b-0002KZ-5n for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:42:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXW9X-0006C2-TQ for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:42:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:46795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXW9X-0006Bi-Ml for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:42:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXW9W-0002ss-HG for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 16:42:30 +0100 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 16:42:30 +0100 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 16:42:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 Date: Sun, 21 Feb 2016 15:42:22 +0000 Lines: 32 Message-ID: <86si0m6pep.fsf@gmail.com> References: <87d1rquzlg.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (windows-nt) Cancel-Lock: sha1:VrWJ074elVUWPehg87AtwEWr6rM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Sun 21 Feb 2016, Marcin Borkowski wrote: > Dear Devs, > > 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. Below is a simple patch which > seems to help. > > Best, > mbork > > diff -u --label /home/mbork/ludzie-works/emacs/emacs/lisp/mail/rmail.el --label \#\ /home/mbork/ludzie-works/emacs/emacs/lisp/mail/rmail.el /tmp/buffer-content-1903Vxh > --- /home/mbork/ludzie-works/emacs/emacs/lisp/mail/rmail.el > +++ # > @@ -3699,8 +3699,8 @@ > ;; point and mark (see doc of sc-cite-original). > (setq yank-action > `(rmail-yank-current-message ,replybuffer))) > - (push (cons "cc" cc) other-headers) > - (push (cons "in-reply-to" in-reply-to) other-headers) > + (push (cons "Cc" cc) other-headers) > + (push (cons "In-reply-to" in-reply-to) other-headers) This should be "In-Reply-To" as described in RFC 2822 section 3.6.4. > (setq other-headers > (mapcar #'(lambda (elt) > (cons (car elt) (if (stringp (cdr elt)) > > Diff finished. Sun Feb 21 11:24:47 2016 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 11:01:51 2016 Received: (at 22754) by debbugs.gnu.org; 21 Feb 2016 16:01:51 +0000 Received: from localhost ([127.0.0.1]:36508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXWSF-0006yk-4v for submit@debbugs.gnu.org; Sun, 21 Feb 2016 11:01:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44334) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXWSD-0006yU-Ba for 22754@debbugs.gnu.org; Sun, 21 Feb 2016 11:01:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXWS3-0001qu-Hy for 22754@debbugs.gnu.org; Sun, 21 Feb 2016 11:01:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXWS3-0001qq-Fb; Sun, 21 Feb 2016 11:01:39 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4070 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXWS2-0002YD-Pl; Sun, 21 Feb 2016 11:01:39 -0500 Date: Sun, 21 Feb 2016 18:01:27 +0200 Message-Id: <838u2enjc8.fsf@gnu.org> From: Eli Zaretskii To: Marcin Borkowski In-reply-to: <87d1rquzlg.fsf@mbork.pl> (message from Marcin Borkowski on Sun, 21 Feb 2016 11:28:27 +0100) Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Marcin Borkowski > 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. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 13:15:21 2016 Received: (at 22754) by debbugs.gnu.org; 22 Feb 2016 18:15:21 +0000 Received: from localhost ([127.0.0.1]:38387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXv0z-0000pm-35 for submit@debbugs.gnu.org; Mon, 22 Feb 2016 13:15:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36458) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXv0x-0000pC-GA for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 13:15:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXv0r-000773-Fy for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 13:15:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXv0a-0006xx-1I; Mon, 22 Feb 2016 13:14:56 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aXv0Y-0003Je-6W; Mon, 22 Feb 2016 13:14:54 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> <838u2enjc8.fsf@gnu.org> X-Spook: spies Tony Blair Tamiflu counter intelligence George W. X-Ran: 4TQyKr/,c>c789l{-j,H_rD1<9m^4yL]r|2*$Z^Q_a2nI_U.HP8>HuJO^"6oyEEUrt}w4e X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 22 Feb 2016 13:14:53 -0500 In-Reply-To: <838u2enjc8.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 21 Feb 2016 18:01:27 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: Marcin Borkowski , 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Eli Zaretskii wrote: >> From: Marcin Borkowski >> 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. 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? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 14:23:43 2016 Received: (at 22754) by debbugs.gnu.org; 22 Feb 2016 19:23:43 +0000 Received: from localhost ([127.0.0.1]:38456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXw59-0002YH-01 for submit@debbugs.gnu.org; Mon, 22 Feb 2016 14:23:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59722) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXw56-0002Y3-Ni for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 14:23:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXw4y-0000lw-IZ for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 14:23:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXw4y-0000ls-FB; Mon, 22 Feb 2016 14:23:32 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1514 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXw4x-0005Dr-Am; Mon, 22 Feb 2016 14:23:31 -0500 Date: Mon, 22 Feb 2016 21:23:22 +0200 Message-Id: <83oab8k0r9.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Mon, 22 Feb 2016 13:14:53 -0500) Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> <838u2enjc8.fsf@gnu.org> 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: mbork@mbork.pl, 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Glenn Morris > Cc: Marcin Borkowski , 22754@debbugs.gnu.org > Date: Mon, 22 Feb 2016 13:14:53 -0500 > > Eli Zaretskii wrote: > > >> From: Marcin Borkowski > >> 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). From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 15:13:42 2016 Received: (at 22754-done) by debbugs.gnu.org; 22 Feb 2016 20:13:42 +0000 Received: from localhost ([127.0.0.1]:38506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXwrW-0005QM-2Y for submit@debbugs.gnu.org; Mon, 22 Feb 2016 15:13:42 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:53158) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXwrU-0005QD-CB for 22754-done@debbugs.gnu.org; Mon, 22 Feb 2016 15:13:41 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4222B9D2005; Mon, 22 Feb 2016 21:13:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sSat3N2g-Rbl; Mon, 22 Feb 2016 21:13:36 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id C65BF9D2004; Mon, 22 Feb 2016 21:13:35 +0100 (CET) References: <87d1rquzlg.fsf@mbork.pl> <838u2enjc8.fsf@gnu.org> User-agent: mu4e 0.9.13; emacs 25.1.50.3 From: Marcin Borkowski To: Glenn Morris Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 In-reply-to: Date: Mon, 22 Feb 2016 21:13:32 +0100 Message-ID: <87mvqs8pw3.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22754-done Cc: 22754-done@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2016-02-22, at 19:14, Glenn Morris wrote: > Eli Zaretskii wrote: > >>> From: Marcin Borkowski >>> 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. > > 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? Glenn, you mean what I did was theoretical analysis or what Eli did...? For me, it was a real problem: I use mu4e as my email client, and it didn't do the capitalization. It is quite probable that it's mu4e's bug, since indeed I could not reproduce it on emacs -Q (without mu4e). It seems that your email saved me some analysis - you're right, `message-mail' does the capitalization indeed. When I have time (probably Wednesday or Thursday), I'll propose a patch to the author of mu4e. For now, I'm closing this bug. Nevertheless, I still think it is a bit sloppy: it looks like Emacs depends on the incidental fact that all header field names are capitalized, but AFAIU this is not a rule stated explicitly in RFC2822, but just (it seems) a convention they have adopted. IOW, in the (unlikely of course - now /this/ is theoretical analysis!) case when RFC2822 is superseded by another one, not adhering to this convention, Emacs users will be in trouble, or, as a (not very elegant;-)) Polish saying goes, "va qnex ohgg" (rot13'd since possibly NSFW). ;-) Thanks and best regards -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 19:09:48 2016 Received: (at 22754) by debbugs.gnu.org; 23 Feb 2016 00:09:48 +0000 Received: from localhost ([127.0.0.1]:38658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY0Y0-0004Mb-Gj for submit@debbugs.gnu.org; Mon, 22 Feb 2016 19:09:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38223) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY0Xy-0004MK-Pi for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 19:09:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0Xt-0002Zd-2B for 22754@debbugs.gnu.org; Mon, 22 Feb 2016 19:09:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0Xl-0002Yo-AU; Mon, 22 Feb 2016 19:09:33 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aY0Xk-0001dh-AD; Mon, 22 Feb 2016 19:09:32 -0500 From: Glenn Morris To: Marcin Borkowski Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> <838u2enjc8.fsf@gnu.org> <87mvqs8pw3.fsf@mbork.pl> X-Spook: M-14 high security Illegal immigrants government pipeline X-Ran: KyxUIl45ce|d:2`0?:Bt}1H`Rk;veh3ya6?.nQ9PR_$q_WWZ:"JCwMOs.-kG&C[vOAj}&L X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 22 Feb 2016 19:09:32 -0500 In-Reply-To: <87mvqs8pw3.fsf@mbork.pl> (Marcin Borkowski's message of "Mon, 22 Feb 2016 21:13:32 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: Eli Zaretskii , 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marcin Borkowski wrote: >>>> Rmail inserts lower-case field names in the header, which goes against >>>> RFC 2822 (pp. 22 and 23, see [...] > For me, it was a real problem: I use mu4e as my email client, and it > didn't do the capitalization. But mu4e does not use any rmail functions (it would be weird if it did). So why did a mu4e problem make you think there was an issue with rmail.el? From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 07:58:58 2016 Received: (at 22754) by debbugs.gnu.org; 23 Feb 2016 12:58:58 +0000 Received: from localhost ([127.0.0.1]:39438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYCYM-0002NF-4Q for submit@debbugs.gnu.org; Tue, 23 Feb 2016 07:58:58 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:44334) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYCYK-0002N7-Qx for 22754@debbugs.gnu.org; Tue, 23 Feb 2016 07:58:57 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8FDE19D2005; Tue, 23 Feb 2016 13:58:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IZqoDfKWgHFC; Tue, 23 Feb 2016 13:58:53 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3EC1A9D2004; Tue, 23 Feb 2016 13:58:53 +0100 (CET) References: <87d1rquzlg.fsf@mbork.pl> <838u2enjc8.fsf@gnu.org> <87mvqs8pw3.fsf@mbork.pl> User-agent: mu4e 0.9.13; emacs 25.1.50.3 From: Marcin Borkowski To: Glenn Morris Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 In-reply-to: Date: Tue, 23 Feb 2016 13:58:52 +0100 Message-ID: <87io1f8twz.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22754 Cc: 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2016-02-23, at 01:09, Glenn Morris wrote: > Marcin Borkowski wrote: > >>>>> Rmail inserts lower-case field names in the header, which goes against >>>>> RFC 2822 (pp. 22 and 23, see > [...] >> For me, it was a real problem: I use mu4e as my email client, and it >> didn't do the capitalization. > > But mu4e does not use any rmail functions (it would be weird if it did). > So why did a mu4e problem make you think there was an issue with rmail.el? The other way round: rmail launches whatever `mail-user-agent' points to, in my case it's `mu4e-user-agent'. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 12:43:46 2016 Received: (at 22754) by debbugs.gnu.org; 26 Feb 2016 17:43:46 +0000 Received: from localhost ([127.0.0.1]:47850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZMQc-0001QF-EF for submit@debbugs.gnu.org; Fri, 26 Feb 2016 12:43:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40353) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZMQa-0001Q2-Mj for 22754@debbugs.gnu.org; Fri, 26 Feb 2016 12:43:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZMQU-0002rh-IP for 22754@debbugs.gnu.org; Fri, 26 Feb 2016 12:43:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZMQE-0002oS-JQ; Fri, 26 Feb 2016 12:43:22 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aZMQB-0008WM-JD; Fri, 26 Feb 2016 12:43:19 -0500 From: Glenn Morris Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> to: 22754@debbugs.gnu.org X-Spook: initiative MDA World Health Organization KGB sweep pink X-Ran: kzc'mlS9jd9J$6Z<#A;;n3a[}@X!$1cZI)o!Z`06{;AgQn|]Y-.Y={O"9{O|[*&Yg975wY X-Hue: black X-Attribution: GM Date: Fri, 26 Feb 2016 12:43:18 -0500 In-Reply-To: <87d1rquzlg.fsf@mbork.pl> (Marcin Borkowski's message of "Sun, 21 Feb 2016 11:28:27 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: andrewjmoreton@gmail.com, Marcin Borkowski X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marcin Borkowski wrote: > 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). Andy Moreton wrote: > This should be "In-Reply-To" as described in RFC 2822 section 3.6.4. Going back to this, what exactly are you referring to in the RFC? All I can find on the subject of case is an explicit statement that values are case insensitive (as one would expect): 1.2.2. Syntactic notation Characters will be specified either by a decimal value (e.g., the value %d65 for uppercase A and %d97 for lowercase A) or by a case-insensitive literal value enclosed in quotation marks (e.g., "A" for either uppercase or lowercase So the fact they happen to write "In-Reply-To" implies nothing about case. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 13:17:29 2016 Received: (at 22754) by debbugs.gnu.org; 26 Feb 2016 18:17:29 +0000 Received: from localhost ([127.0.0.1]:47860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZMxF-0002Cu-Gt for submit@debbugs.gnu.org; Fri, 26 Feb 2016 13:17:29 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:34315) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZMxD-0002Cl-Cv for 22754@debbugs.gnu.org; Fri, 26 Feb 2016 13:17:27 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 05B079D2005; Fri, 26 Feb 2016 19:17:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uJ8a6rYYBQhA; Fri, 26 Feb 2016 19:17:23 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 47CAE9D2004; Fri, 26 Feb 2016 19:17:23 +0100 (CET) References: <87d1rquzlg.fsf@mbork.pl> User-agent: mu4e 0.9.13; emacs 25.1.50.3 From: Marcin Borkowski To: Glenn Morris Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 In-reply-to: Date: Fri, 26 Feb 2016 19:17:22 +0100 Message-ID: <878u272v65.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22754 Cc: andrewjmoreton@gmail.com, 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2016-02-26, at 18:43, Glenn Morris wrote: > Marcin Borkowski wrote: > >> 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). > > Andy Moreton wrote: > >> This should be "In-Reply-To" as described in RFC 2822 section 3.6.4. > > Going back to this, what exactly are you referring to in the RFC? > All I can find on the subject of case is an explicit statement that > values are case insensitive (as one would expect): I've been told that if it is not stated explicitly that field names are case-insensitive, they are not, and their names should nit be changed in any way. > 1.2.2. Syntactic notation > > Characters will be specified either by a decimal value (e.g., the value > %d65 for uppercase A and %d97 for lowercase A) or by a case-insensitive > literal value enclosed in quotation marks (e.g., "A" for either > uppercase or lowercase > > So the fact they happen to write "In-Reply-To" implies nothing about case. Seems it does. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 27 22:04:36 2016 Received: (at 22754) by debbugs.gnu.org; 28 Feb 2016 03:04:36 +0000 Received: from localhost ([127.0.0.1]:49239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZret-0000JK-Uu for submit@debbugs.gnu.org; Sat, 27 Feb 2016 22:04:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34380) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZrer-0000J8-M8 for 22754@debbugs.gnu.org; Sat, 27 Feb 2016 22:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZrel-00004s-TP for 22754@debbugs.gnu.org; Sat, 27 Feb 2016 22:04:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZred-0008VG-7n; Sat, 27 Feb 2016 22:04:19 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aZrec-0006E0-Bj; Sat, 27 Feb 2016 22:04:18 -0500 From: Glenn Morris To: Marcin Borkowski Subject: Re: bug#22754: 25.1.50; Rmail does not follow RFC 2822 References: <87d1rquzlg.fsf@mbork.pl> <878u272v65.fsf@mbork.pl> X-Spook: radar corporate security Listeria Becker Power Cyber X-Ran: *W_s:$&rIi'3&gQ|*)Il;u(qE_{FYwgsaq{hHW`W2OQ^CxmJ&6|Z(id87W;^gCH'1Y/$HE X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 27 Feb 2016 22:04:18 -0500 Message-ID: <3ppovhilhp.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22754 Cc: andrewjmoreton@gmail.com, 22754@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marcin Borkowski wrote: > I've been told that if it is not stated explicitly that field names are > case-insensitive, they are not, and their names should nit be changed in > any way. > >> 1.2.2. Syntactic notation >> >> Characters will be specified either by a decimal value (e.g., the value >> %d65 for uppercase A and %d97 for lowercase A) or by a case-insensitive >> literal value enclosed in quotation marks (e.g., "A" for either >> uppercase or lowercase There's nothing in the RFC that supports what you were told. Where it says anything, it says the opposite, as I cited. The situation is the same in the later RFC 5322. See also the more explicit RFC 5234: ABNF strings are case insensitive and the character set for these strings is US-ASCII. [...] To specify a rule that is case sensitive, specify the characters individually. Any sane mail app should be prepared for "CC:", "Cc:", "cc:", or even "cC:". From unknown Mon Jun 23 16:44:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator