From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41694 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Possible nnmaildir bug Date: Sun, 06 Jan 2002 16:57:53 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177051 7526 80.91.224.250 (21 Oct 2002 05:10:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:10:51 +0000 (UTC) Return-Path: Original-Received: (qmail 17660 invoked from network); 6 Jan 2002 21:58:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 6 Jan 2002 21:58:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16NLJM-0001MW-00; Sun, 06 Jan 2002 15:58:36 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 06 Jan 2002 15:58:27 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA01172 for ; Sun, 6 Jan 2002 15:58:12 -0600 (CST) Original-Received: (qmail 17649 invoked by alias); 6 Jan 2002 21:58:15 -0000 Original-Received: (qmail 17644 invoked from network); 6 Jan 2002 21:58:15 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (qmail-remote@129.22.96.25) by gnus.org with SMTP; 6 Jan 2002 21:58:15 -0000 Original-Received: (qmail 10669 invoked by uid 500); 6 Jan 2002 21:58:15 -0000 Original-To: ding@gnus.org In-Reply-To: (Harry Putnam's message of "Sun, 06 Jan 2002 10:20:10 -0800") Mail-Copies-To: nobody Mail-Followup-To: ding@gnus.org Original-Lines: 33 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/20.7 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41694 Harry Putnam wrote: > The general problem is that gnus doesn't seem to be putting the > warning `Gnus-Warning: [...] Duplicate' on messages with identical > message ids. ... > I wondered if the process in nnmaildir that converts incoming messages > from New to Cur may be missing this functionality. Yep. Mail that comes in via mail-sources will get this treatment from nnmail, but nnmaildir doesn't do it when moving mail from .../new/ to .../cur/. I don't want nnmaildir to ever automatically modify articles by default, but of course it should also be not too hard to turn on this particular modification. So I'm thinking the best way would be to add a group parameter which is a form to be evaluated for each message moved from new to cur; then I'd also provide a function to plug in there that would take care of the duplicate checking. Then again, another way to go would be: - Enhance nnmail-split-{methods,fancy} so that a rule can check which mail source a message came from. This would be useful for other reasons anyway. - Modify nnmaildir to do nnmail splitting before its own new->cur moving, instead of after. - Use mail sources like: (maildir :path "/path/to/maildir/" :subdirs ("new")), and use splitting rules that move messages from those sources to the corresponding groups (the same maildirs), thus invoking the nnmail duplicate checking. Or maybe both. paul