Gnus development mailing list
 help / color / mirror / Atom feed
* gnus date comparisons
@ 2003-10-10 23:14 mike.kupfer
  2003-10-13  2:35 ` Jesper Harder
  0 siblings, 1 reply; 2+ messages in thread
From: mike.kupfer @ 2003-10-10 23:14 UTC (permalink / raw)
  Cc: mike.kupfer

Hi, the folks at xemacs.org thought you might be able to help me with
this.

I have several mail folders that I read via gnus, using the nnmh
foreign group feature.  Some of the folders don't get read often, and
I use date scoring to help weed out older messages.  Occasionally gnus
will incorrectly flag a message as matching a "before" entry.  For
example, consider the following header:

  Return-Path: mh-e-users-admin@lists.sourceforge.net
  Delivery-Date: Thu Oct  9 16:24 PDT 200
  Received: from engmail2sun.Eng.Sun.COM (engmail2sun.SFBay.Sun.COM [129.144.134.19])
  	by jurassic.eng.sun.com (8.12.10+Sun/8.12.10) with ESMTP id h99NOHKS904950
  	for <kupfer@jurassic.Eng.Sun.COM>; Thu, 9 Oct 2003 16:24:17 -0700 (PDT)
  Received: from sunmail1brm.Central.Sun.COM (sunmail1brm.Central.Sun.COM [129.147.62.17])
  	by engmail2sun.Eng.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id h99NOHru012260
  	for <mike.kupfer@eng.sun.com>; Thu, 9 Oct 2003 16:24:17 -0700 (PDT)
  Received: from brmea-mail-4.sun.com (brmea-mail-4.Central.Sun.COM [129.147.5.36])
  	by sunmail1brm.Central.Sun.COM (8.11.7p1+Sun/8.11.7/ENSMAIL,v2.2) with ESMTP id h99NOGZ25724
  	for <mike.kupfer@sun.com>; Thu, 9 Oct 2003 17:24:16 -0600 (MDT)
  Received: from relay22.sun.com (relay22.sun.com [192.12.251.34] (may be forged))
  	by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id h99NOGcm000199
  	for <mike.kupfer@sun.com>; Thu, 9 Oct 2003 17:24:16 -0600 (MDT)
  Received: from mms23es.sun.com ([150.143.232.50] [150.143.232.50]) by relay22i.sun.com with ESMTP for mike.kupfer@sun.com; Thu, 9 Oct 2003 23:24:16 Z
  Received: from mms21bas.mms.us.syntegra.com (mms21bas.mms.us.syntegra.com [192.12.251.10]) by mms23es.sun.com with ESMTP for mike.kupfer@sun.com; Thu, 9 Oct 2003 23:24:16 Z
  Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206] [66.35.250.206]) by relay21.sun.com with ESMTP for mike.kupfer@sun.com; Thu, 9 Oct 2003 23:24:15 Z
  Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net)
  	by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))
  	id 1A7k9F-0002bx-00; Thu, 09 Oct 2003 16:24:45 -0700
  Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net)
  	by sc8-sf-list1.sourceforge.net with esmtp 
  	(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian))
  	id 1A7k8K-0006fT-00
  	for <mh-e-users@lists.sourceforge.net>; Thu, 09 Oct 2003 16:23:48 -0700
  Received: from smtp4.stanford.edu ([171.67.16.29])
  	by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22)
  	id 1A7k8J-0006gm-KF
  	for mh-e-users@lists.sourceforge.net; Thu, 09 Oct 2003 16:23:47 -0700
  Received: from cs1.Stanford.EDU (cs1.Stanford.EDU [172.24.64.20])
  	by smtp4.Stanford.EDU (8.12.10/8.12.10) with ESMTP id h99NNfH5014495
  	for <mh-e-users@lists.sourceforge.net>; Thu, 9 Oct 2003 16:23:42 -0700 (PDT)
  Received: from mail by cs1.Stanford.EDU with spam-scanned (Exim 4.22)
  	id 1A7k8C-0002NR-IF
  	for mh-e-users@lists.sourceforge.net; Thu, 09 Oct 2003 16:23:41 -0700
  Received: from troodon.stanford.edu ([171.64.73.3])
  	by cs1.Stanford.EDU with esmtp (Exim 4.22)
  	id 1A7k8C-0002NN-EW
  	for mh-e-users@lists.sourceforge.net; Thu, 09 Oct 2003 16:23:40 -0700
  Received: from [127.0.0.1] (helo=chicory.stanford.edu)
  	by troodon.stanford.edu with esmtp (Exim 4.12)
  	id 1A7k8B-0007mn-00
  	for mh-e-users@lists.sourceforge.net; Thu, 09 Oct 2003 16:23:39 -0700
  To: mh-e-users@lists.sourceforge.net
  Subject: Re: Reply quoting where sender has iso-8859 sequence
  In-Reply-To: <17399.1065735842@newt.com> 
  References: <200310092109.h99L9Sb29454@aragorn.cortexmachina.com> <17399.1065735842@newt.com>
  From: "Satyaki Das" <satyakid@stanford.edu>
  X-Mailer: MH-E 7.4.2+cvs; nmh 1.1; GNU Emacs 21.3.50.48
  Message-Id: <29932.1065741819@chicory.stanford.edu>
  X-Spam-Checker-Version: SpamAssassin 2.60-csdcf (1.212-2003-09-23-exp) on 
  	cs1.Stanford.EDU
  X-Spam-Level: 
  X-Spam-Status: No, hits=-4.9 required=7.0 tests=AWL,BAYES_00 autolearn=ham 
  	version=2.60-csdcf
  X-Spam-Score: -3.0 (---)
  X-Spam-Report: -3.0/5.0
  	Spam Filtering performed by sourceforge.net.
  	See http://spamassassin.org/tag/ for more details.
  	Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001
  	IN_REP_TO          (-0.5 points) Has a In-Reply-To header
  	REFERENCES         (-0.5 points) Has a valid-looking References header
  	EMAIL_ATTRIBUTION  (-0.5 points) BODY: Contains what looks like an email attribution
  	PATCH_UNIFIED_DIFF (-0.5 points) BODY: Contains what looks like a patch from diff -u
  	QUOTED_EMAIL_TEXT  (-0.5 points) BODY: Contains what looks like a quoted email text
  	REPLY_WITH_QUOTES  (-0.5 points) Reply with quoted text
  Sender: mh-e-users-admin@lists.sourceforge.net
  Errors-To: mh-e-users-admin@lists.sourceforge.net
  X-BeenThere: mh-e-users@lists.sourceforge.net
  X-Mailman-Version: 2.0.9-sf.net
  Precedence: bulk
  List-Help: <mailto:mh-e-users-request@lists.sourceforge.net?subject=help>
  List-Post: <mailto:mh-e-users@lists.sourceforge.net>
  List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/mh-e-users>,
  	<mailto:mh-e-users-request@lists.sourceforge.net?subject=subscribe>
  List-Id: This list covers the use of mh-e. <mh-e-users.lists.sourceforge.net>
  List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/mh-e-users>,
  	<mailto:mh-e-users-request@lists.sourceforge.net?subject=unsubscribe>
  List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=mh-e-users>
  X-Original-Date: Thu, 09 Oct 2003 16:23:39 -0700
  Date: Thu, 09 Oct 2003 16:23:39 -0700
  Content-Type: text
  Content-Length: 2758

and the score entry

 ("date"
  ("1 Apr 2002 00:00:00" -100 nil before))

I would not expect this to match, but it does.

I suppose this could have something to do with the mangled
Delivery-Date header line, but I have other messages that have
similarly mangled lines, and gnus doesn't match them.

Any ideas?

thanks,
mike



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnus date comparisons
  2003-10-10 23:14 gnus date comparisons mike.kupfer
@ 2003-10-13  2:35 ` Jesper Harder
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2003-10-13  2:35 UTC (permalink / raw)


mike.kupfer@sun.com writes:

> Occasionally gnus will incorrectly flag a message as matching a
> "before" entry.  For example, consider the following header:
>
>   Date: Thu, 09 Oct 2003 16:23:39 -0700
>
> and the score entry
>
>  ("date"
>   ("1 Apr 2002 00:00:00" -100 nil before))
>
> I would not expect this to match, but it does.

I can't reproduce it.  What do you get if you evaluate this
expression:

(gnus-string>
 (gnus-date-iso8601 "1 Apr 2002 00:00:00")
 (gnus-date-iso8601 "Thu, 09 Oct 2003 16:23:39 -0700"))



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-13  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10 23:14 gnus date comparisons mike.kupfer
2003-10-13  2:35 ` Jesper Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).