[Mailman-Users] Timestamp on approved msg

Bill Christensen billc_lists at greenbuilder.com
Thu Oct 9 20:42:58 CEST 2008


At 8:23 AM -0700 10/9/08, Mark Sapiro wrote:
>Bill Christensen wrote:
>>
>>Is there a way to change the timestamp on mail to moderated lists to
>>display the time it is approved/sent by Mailman instead of the time
>>of the orignal sender's post?
>
>
>Only by changing the source code, and it isn't a good idea. RFC 2822
>Sec. 3.6.1 [1] specifies the meaning of the Date: header and says in
>part:
>
>    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.

<snip...>

>
>[1] http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2822.html

The only required header fields are the origination date field and
    the originator address field(s).


I had a feeling we'd be up against something like that.

But many a non-moderated listserv typically replaces the FROM header 
with the listserv's reply address, do they not?

For instance, this header from a Sourceforge list doesn't appear to 
display any info other than "noreply at sourceforge.net", and I suspect 
the timestamp is that of the listserv, not the original sender:

Delivered-To: billc_lists at greenbuilder.com
Received: by 10.210.41.16 with SMTP id o16cs466769ebo;
         Wed, 8 Oct 2008 12:49:01 -0700 (PDT)
Received: by 10.140.157.5 with SMTP id f5mr5391922rve.267.1223495340192;
         Wed, 08 Oct 2008 12:49:00 -0700 (PDT)
Return-Path: <noreply at sourceforge.net>
Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60])
         by mx.google.com with ESMTP id 5si187618wrh.31.2008.10.08.12.48.59;
         Wed, 08 Oct 2008 12:49:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of noreply at sourceforge.net 
designates 216.34.181.60 as permitted sender) client-ip=216.34.181.60;
Authentication-Results: mx.google.com; spf=pass (google.com: domain 
of noreply at sourceforge.net designates 216.34.181.60 as permitted 
sender) smtp.mail=noreply at sourceforge.net
Received: from www by b55xhf1.ch3.sourceforge.com with local (Exim 4.69)
	(envelope-from <noreply at sourceforge.net>)
	id 1Knexj-000480-Mc; Wed, 08 Oct 2008 19:44:47 +0000
To: noreply at sourceforge.net
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [webcalendar - Help / Troubleshooting] RE: upgrade strategy
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Message-Id: <5390263.11588 at sourceforge.net>
In-Reply-To: <5390008.11588 at sourceforge.net>
Date: Wed, 08 Oct 2008 19:44:47 +0000


Not to say that just because someone else is doing it against the 
rules that I should be allowed to as well, of course.  I don't have 
enough clout to circumvent the mail rules the way some of the big 
guys do.

>You could look at Mailman/ListAdmin.py at the point where it adds the
>X-Mailman-Approved-At: header to an approved message. You could also
>add a Resent-Date: header, and your user's MUAs may sort on that.

Worth a try.
-- 
Bill Christensen
<http://greenbuilder.com/contact/>

Green Building Professionals Directory: <http://directory.greenbuilder.com>
Sustainable Building Calendar: <http://www.greenbuilder.com/calendar/>
Green Real Estate: <http://www.greenbuilder.com/realestate/>
Straw Bale Registry: <http://sbregistry.greenbuilder.com/>
Books/videos/software: <http://bookstore.greenbuilder.com/>


More information about the Mailman-Users mailing list