From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56042 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: [PROPOSAL]: Date header and Queued messages Date: Fri, 16 Jan 2004 06:43:36 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074231850 3203 80.91.224.253 (16 Jan 2004 05:44:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2004 05:44:10 +0000 (UTC) Original-X-From: ding-owner+M4582@lists.math.uh.edu Fri Jan 16 06:44:03 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhMm3-0004BI-00 for ; Fri, 16 Jan 2004 06:44:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AhMlw-0004oh-00; Thu, 15 Jan 2004 23:43:56 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AhMlr-0004oc-00 for ding@lists.math.uh.edu; Thu, 15 Jan 2004 23:43:51 -0600 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id 8A89B3A0035 for ; Thu, 15 Jan 2004 23:43:50 -0600 (CST) Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.10/8.12.10) with ESMTP id i0G5hmAn004238 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 16 Jan 2004 06:43:49 +0100 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 0:040116:ding@gnus.org:eecce638d5f8c5bb In-Reply-To: (Xavier Maillard's message of "Fri, 16 Jan 2004 05:17:41 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56042 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56042 Xavier Maillard writes: > For my case it result to something quite annoying since I write my > mails when I am in the train and can't send them before the evening so > it generally result in something with 14/15h late ! 2822 has this to say on the semantics of Date: ,---- | 3.6.1. The origination date field | | The origination date field consists of the field name "Date" followed | by a date-time specification. | | orig-date = "Date:" date-time CRLF | | The origination date specifies the date and time at which the creator | of the message indicated that the message was complete and ready to | enter the mail delivery system. For instance, this might be the time | that a user pushes the "send" or "submit" button in an application | program. In any case, it is specifically not intended to convey the | time that the message is actually transported, but rather the time at | which the human or other creator of the message has put the message | into its final form, ready for transport. (For example, a portable | computer user who is not connected to a network might queue a message | for delivery. The origination date is intended to contain the date | and time that the user queued the message, not the time when the user | connected to the network to send the message.) `---- It says it is "not intended to convey the time that the message is actually transported", although I can see how some of the other wording can be read as meaning something else -- by using the argument that the queue might not be the "final" form of the message, since you can edit messages in the queue. Further, having the Date: header say when Gnus sent a message through SMTP or /usr/bin/sendmail make it impossible for the receiver to find out when the message was created. The time the message is sent is visible in other headers already. My vote is for keeping things as is, so that Date: indicate when you finished creating a message that is eventually sent. Perhaps if you edit a message in the queue, it should replace the Date: header. Maybe it already does. But it should be simple to achieve the behaviour you want, via some hook. I couldn't find any appropriate hook. Perhaps replacing the code in your patch with some code that invoke a gnus-agent-send-queue-article-hook or something.