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 "[EMAIL PROTECTED]", and I suspect
the timestamp is that of the listserv, not the original sender:
Delivered-To: [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED] designates 216.34.181.60 as permitted
sender) [EMAIL PROTECTED]
Received: from www by b55xhf1.ch3.sourceforge.com with local (Exim 4.69)
(envelope-from <[EMAIL PROTECTED]>)
id 1Knexj-000480-Mc; Wed, 08 Oct 2008 19:44:47 +0000
To: [EMAIL PROTECTED]
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [webcalendar - Help / Troubleshooting] RE: upgrade strategy
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Message-Id: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
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/>
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9