GNU bug report logs -
#22014
24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers
Previous Next
Reported by: "Barak A. Pearlmutter" <barak <at> pearlmutter.net>
Date: Wed, 25 Nov 2015 22:04:01 UTC
Severity: normal
Tags: fixed
Found in version 24.4
Fixed in version 25.1
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
According to the info page on mail headers,
http://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Headers.html
The ‘To’, ‘CC’, and ‘BCC’ fields can appear any number of times ...
This is in contravention to RFC 5322, the current standard for mail
headers. See the "Max Number" column of the "to" row in the table on
page 20 (sec 3.6), https://tools.ietf.org/html/rfc5322 which reads "1",
and not just for "to" but also in the "cc" and "bcc" rows.
Some smtp servers---the one @pearlmutter.net's mx in particular as it
happens---check for this and reject messages with multiple 'To' fields
in the header. I personally would urge the authors of such servers to
reconsider this decision. On the other hand, it would be nice if Emacs
tried to be conformant in this regard, by detecting and consolidating
multiple To:, CC:, or BCC: fields. Emacs already scans these while
constructing the recipients list, so the extra logic would be minimal.
Or just (yes-or-no-p "Multiple To, CC or BCC fields, abort ") to let the
user know that something on-standards-conformant is in the air.
--Barak.
--
Barak A. Pearlmutter
Dept Comp Sci, Maynooth University, Co. Kildare, Ireland
http://barak.pearlmutter.net
This bug report was last modified 7 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.