================================================================
Dear Bug Team!
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 score entry and the following header:
Return-Path: mh-e-users-admin(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)lists.sourceforge.net; Thu, 09 Oct 2003 16:23:39 -0700
To: mh-e-users(a)lists.sourceforge.net
Subject: Re: Reply quoting where sender has iso-8859 sequence
In-Reply-To: <17399.1065735842(a)newt.com>
References: <200310092109.h99L9Sb29454(a)aragorn.cortexmachina.com>
<17399.1065735842(a)newt.com>
From: "Satyaki Das" <satyakid(a)stanford.edu>
X-Mailer: MH-E 7.4.2+cvs; nmh 1.1; GNU Emacs 21.3.50.48
Message-Id: <29932.1065741819(a)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(a)lists.sourceforge.net
Errors-To: mh-e-users-admin(a)lists.sourceforge.net
X-BeenThere: mh-e-users(a)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"
("20020401" -100 nil before))
I would not expect this to match, but it does.
I've also tried a C date syntax ("Mon, 1 Apr 2002 00:00:00"), with
and without a timezone, and I still see the occasional mismatch.
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.
It's possible that I have the date syntax wrong for the score entry,
though it does work most of the time. Unfortunately, the info file
for gnus only describes the date format for date regexp matching. I
tried reverse engineering it from the code, but my Lisp skills weren't
up to the task.
This is not a new issue, by the way. I've been seeing this for
several months, at least, so it's not something introduced by 21.4 or
the latest gnus.
So, can anyone tell me
1. What the correct date syntax is for before/after score entries?
2. Why I'm seeing these occasional incorrect matches?
thanks,
mike
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS watford-71 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-880
./configure.ccd '--prefix=/opt/sfw' '--without-gif'
'--without-ldap' '--with-msw=no' '--mail-locking=lockf'
'--site-includes=/home/kupfer/ws/ccd-sparc/proto/root_sparc/opt/sfw/include'
'--with-workshop' '--with-tooltalk' '--with-sparcworks'
XEmacs 21.4.14 "Reasonable Discussion" configured for
`sparc-sun-solaris2.9'.
Compilation / Installation:
Source code location:
/net/watford-71/export/builds/kupfer/ccd-sparc/usr/src/cmd/xemacs/xemacs-21.4.14
Installation prefix: /opt/sfw
Additional header files:
/home/kupfer/ws/ccd-sparc/proto/root_sparc/opt/sfw/include
Runtime library search path:
/usr/ccs/lib:/usr/openwin/lib:/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3:/opt/sfw/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /home/kupfer/ws/ccd-sparc/usr/src/tools/gcc -g -O3
-Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing
-Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/openwin/include
- X Windows libraries location: /usr/openwin/lib
- Handling WM_COMMAND properly.
Compiling in support for Motif.
*WARNING* Many versions of Motif are buggy, requiring workarounds.
You are likely to experience slow redisplay.
You may need to install vendor patches to Motif.
See PROBLEMS for more information.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.
Internationalization:
Mail:
Compiling in support for "lockf" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/opt/sfw/lib/xemacs/xemacs-packages/lisp/build/build-report
/opt/sfw/lib/xemacs-21.4.14/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.58 :type single-file)
(xemacs-base :version 1.78 :type regular)
(x-symbol :version 1.05 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(viper :version 1.36 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.17 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.63 :type single-file)
(texinfo :version 1.24 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.09 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.3 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.83
:type
single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.15 :type regular)
(mew :version 1.17 :type regular)
(mail-lib :version 1.6 :type regular)
(liece :version 1.12 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.3 :type regular)
(ibuffer :version 1.08 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.14 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.38 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.04 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.18 :type regular)
(ecb :version 1.1 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.12 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.39 :type regular)
(calendar :version 1.21 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular)
(Sun :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow hyper-apropos compile ksh-mode supercite mail-extr
regi ps-print lpr dired-shell mel-q mh-funcs symbol-syntax tags etags
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs regexp-opt view-less view tmh-comp tm-edit signature tm-ew-e
mail-utils sendmail rfc822 mh-comp dired-faces dired-xemacs dired
highlight-headers mime-setup tm-setup tm-mh-e tm-partial tm-play
tm-image images mule-sysdp tm-view tm-text tm-parse tm-ew-d tm-def mel
std11 tl-misc tl-str tl-atype atype tl-seq tl-list alist cless
file-detect path-util emu invisible inv-xemacs mcharset mcs-ltn1
pcustom poem poem-ltn1 pces pces-raw poe-xemacs timer overlay poe pym
static apel-ver product mh-seq psgml-dtd psgml-parse psgml-xemacs
psgml-sysdep psgml-edit tempo sgml-mode psgml psgml-html efs-cu
live-icon font-lock gnuserv filladapt mh-utils mh-e advice
advice-preload xcscope cus-face vc vc-hooks workshop eserve env
pending-del annotations comint ring sunpro zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mail-lib-autoloads
liece-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 gutter-items
menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule cus-file
derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp sparcworks
tooltalk lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x
c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db dbm md5 xemacs gutter
tiff png jpeg xpm xbm lisp-float-type usg-unix-v dialog devices
window-system base64)
Recent keystrokes:
-----------------
ESC f ESC f ESC f ESC f ESC f SPC o n SPC 2 1 . 4 .
1 4 SPC C-a C-u C-p C-p C-p C-@ ESC > C-x c C-c C-q
y ESC x e m a c s - b SPC C-w C-w x e SPC b SPC C-w
C-w r e p o r C-g ESC H a b u g RET C-s e m a c s RET
ESC q ESC x r e p o r t - e m a c s - b u g ESC b ESC
b x RET
Recent messages (most recent first):
-----------------------------------
Composing a message...done
Wrote /home/kupfer/Mail/drafts/2
Composing a message...
Loading xemacsbug...done
Loading xemacsbug...
Quit
Loading hyper-apropos...done
Loading hyper-apropos...
Quit
Kill draft message? (y or n) Yes
Kill draft message? (y or n)
Wrote /home/kupfer/Mail/aliases
Buffer aliases does not end in newline. Add one? (y or n) Yes
Buffer aliases does not end in newline. Add one? (y or n)
Type C-c C-x C-z to exit MIME mode, and type C-c C-x ? to get help.
Composing a message...done
Wrote /home/kupfer/Mail/drafts/2
Composing a message...
Processing deletes and refiles for +inbox...done
Processing deletes and refiles for +inbox...