Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: Duplicate suppression, other processing at split time
Date: Thu, 02 Jun 2005 13:46:01 -0400	[thread overview]
Message-ID: <4nzmu8tzxi.fsf@lifelogs.com> (raw)
In-Reply-To: <y687jhdrgby.fsf@biohazard-cafe.mit.edu>

On Wed, 01 Jun 2005, dmaze@mit.edu wrote:

> David Z Maze <dmaze@mit.edu> writes:
> 
>> If I wind up with the same message delivered to me twice, can I cause
>> the second message to get dropped at split time?  (In particular using
>> nnimap-split-fancy, but I could probably adapt other techniques people
>> have for doing this.)  Is other processing possible?
> 
> Having Read The Fine Manual a little more, it looks like this is very
> straightforward to do for nnmail, but not necessarily so
> straightforward for nnimap.  Can I do info://gnus/Washing+Mail as
> nnimap splitting happens?

I don't think that will work.  You could try, however, to add
duplicate suppression to the gnus-registry and use that; I am thinking
of something like this in the fancy split:

(: gnus-registry-split-duplicates "duplicates") ; or 'delete

The problem is what to do when the message has no message-ID of its
own, as you mention.  It should be pretty easy to generate a unique
message-ID for the registry based on unique information such as the
subject and sender, while preventing collisions from multiple messages
with the same subject and sender.  Perhaps the time or the message's
backend information could be used.

Ted



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----


  reply	other threads:[~2005-06-02 17:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01 19:41 David Z Maze
2005-06-01 20:07 ` David Z Maze
2005-06-02 17:46   ` Ted Zlatanov [this message]
2005-06-06 19:54 ` David Z Maze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nzmu8tzxi.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).