bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rmail reply creates 2 CC: fields, violates RFC 2822


From: Joe Harrington
Subject: rmail reply creates 2 CC: fields, violates RFC 2822
Date: Wed, 19 Dec 2007 16:12:01 -0500

I have the following in .emacs:

(setq mail-default-reply-to "address@hidden")
(setq mail-default-headers (concat "Full-Name: Joe Harrington\n"
                                   "CC: address@hidden"))

When I reply to an rmail message that has a CC: in it, it (mail-mode
or rmail-mode, I'm not sure) makes a second CC: field for the
addresses in the original CC: of the message being replied to.  This
violates RFC 2822, which in section 3.6 specifies that there shall be
only one CC: in the header of an email message.  While this crime is
not often prosecuted (2822 is a proposed standard, but is listed by
rfc-editor.org as obsoleting 822), I am getting warnings from my
department's Debian-based exim4 mailer for each reply message I send.
This is, at the very least, very annoying (see below).  A good
solution would be either to search for an existing CC: before
inserting the reply CC:s, or, if those go in first, providing a new
variable mail-always-cc that gets combined with the reply CC:s to make
one field.

Thanks,

--jh--

Content-Type: multipart/report; report-type=delivery-status;
 boundary="----------=_1198091319-18423-3"
MIME-Version: 1.0
Subject: Delivery status notification, invalid header: duplicate header field
From: "Content-filter at locutus.physics.ucf.edu" <address@hidden>
To: <address@hidden>
Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)

This is a multi-part message in MIME format...

------------=_1198091319-18423-3
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Your message WAS SUCCESSFULLY RELAYED to:
  <address@hidden>
  <address@hidden>
  <address@hidden>
  <address@hidden>
  <address@hidden>
  <address@hidden>

This delivery report was generated by the program amavisd-new at host
locutus.physics.ucf.edu. Our internal reference code for your message is
18423-11/UTvxf0uH4+ha

INVALID HEADER: DUPLICATE HEADER FIELD

  Duplicate header field: "Cc"

Return-Path: <address@hidden>
Message-ID: <address@hidden>
Subject: Re: Next meeting

DUPLICATE HEADER FIELD

  The RFC 2822 standard specifies rules for forming internet messages.
  Section '3.6. Field definitions' specifies that certain header fields
  must not occur more than once in a message header.

------------=_1198091319-18423-3
Content-Type: message/delivery-status; name="dsn_status"
Content-Disposition: inline; filename="dsn_status"
Content-Transfer-Encoding: 7bit
Content-Description: Delivery delay report

Reporting-MTA: dns; locutus.physics.ucf.edu
Received-From-MTA: smtp; locutus.physics.ucf.edu ([127.0.0.1])
Arrival-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

Original-Recipient: rfc822;address@hidden
Final-Recipient: rfc822;address@hidden
Action: delayed
Status: 2.0.0
Diagnostic-Code: smtp; 250 2.6.0 Bad message, but will be delivered anyway
Last-Attempt-Date: Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Final-Log-ID: 18423-11/UTvxf0uH4+ha

------------=_1198091319-18423-3
Content-Type: text/rfc822-headers; name="header"
Content-Disposition: inline; filename="header"
Content-Transfer-Encoding: 7bit
Content-Description: Message headers

Return-Path: <address@hidden>
Received: from glup.physics.ucf.edu (glup.physics.ucf.edu [10.171.140.16])
        (Authenticated sender: address@hidden)
        by locutus.physics.ucf.edu (Postfix) with ESMTP id 571C54D80DB;
        Wed, 19 Dec 2007 14:08:33 -0500 (EST)
Date: Wed, 19 Dec 2007 14:08:35 -0500
Message-Id: <address@hidden>
From: Joe Harrington <address@hidden>
To: address@hidden
CC: address@hidden, address@hidden,
        address@hidden, address@hidden
In-reply-to: <address@hidden>
        (address@hidden)
Subject: Re: Next meeting
Full-Name: Joe Harrington
CC: address@hidden
Reply-To: address@hidden
References: <address@hidden>
        <address@hidden>
        <address@hidden>
        <address@hidden> <address@hidden> <address@hidden>

------------=_1198091319-18423-3--





reply via email to

[Prev in Thread] Current Thread [Next in Thread]