Gnus development mailing list
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
Cc: ding@gnus.org
Subject: Re: A different spam model, which might be possible already
Date: Sun, 04 May 2003 09:39:41 -0700	[thread overview]
Message-ID: <87znm2ekdu.fsf@egil.codesourcery.com> (raw)
In-Reply-To: <m3he8cmfne.fsf@heechee.beld.net> (Ted Zlatanov's message of "Sat, 03 May 2003 07:30:13 -0400")

Ted Zlatanov <tzz@lifelogs.com> writes:

>> * If I do 'B m' on message(s) in the spam group, they automagically
>>   get their $ mark removed.  
>
> Currently, the behavior is the reverse: if the articles have a
> ham-mark in a spam group (see the ham-marks group parameter) they will
> be moved out of the spam group to the ham-process-destination group
> after being processed with the group's ham processors.  What you
> describe could be coded as alternate behavior, but I don't see the
> advantage (see later about article moving and tracking).

The trouble with ham-process-destination is there isn't just one ham
group.  Most of the false positives I get with the current static
database belong to various mailing lists.  But I don't use splitting,
so Gnus doesn't have any way of knowing which mailing-list folder a
message belongs to.  Hence, I need to specify it by hand, using 'B m'.  

> I'm not sure what's the benefit of doing the article move on the
> server side.  Isn't it better to let Gnus do the move, since it will
> involve about the same amount of (minimal) network traffic?  Or is the
> nnimap remote article move somehow suboptimal?

I wasn't suggesting not to let Gnus do the move (I'm not sure whether
nnimap remote move is optimal or not, but that's a separate problem).
What I want to avoid is having Gnus read the entire message from the
server and then feed it into an ssh pipe straight back to the server.
Hence the dance with the IMAP UIDs and the remote script needing to
know which group the messages are in at the time it runs.

>> there is a need for the messages not to get deleted or moved until
>> the aforementioned digging happens.
>
> Why?  As long as you don't expunge or expire the articles before
> calling the shell pipe for ham articles in spam groups or spam
> articles in ham groups, spam.el will know if they got moved to another
> group or were left in the original group, marked as expired.  It can
> tell that to the shell pipe to the remote server.

In the proposed scheme I am playing fast and loose with internal
details of Courier IMAP mailboxes in order to map UIDs to messages on
the server side.  I do not want to risk complicating the issue by
having this happen after the server-side state of these messages
changes.

zw



  reply	other threads:[~2003-05-04 16:39 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-02 21:22 Ideas for .no Gnus Frank Schmitt
2003-05-02 23:48 ` Josh Huber
2003-05-08  9:23   ` Mike Woolley
2003-05-03  0:12 ` IMAP partial fetch (was Re: Ideas for .no Gnus) Zack Weinberg
2003-05-03  0:23   ` IMAP partial fetch Jody Klymak
2003-05-03  2:46   ` Lloyd Zusman
2003-05-03 16:59     ` Kai Großjohann
2003-05-07 20:42   ` Steinar Bang
2003-05-03  1:36 ` Ideas for .no Gnus Richard Hoskins
2003-05-03  5:02   ` Nevin Kapur
2003-05-12  0:03   ` Steve Youngs
2003-05-12  4:27     ` A.J. Rossini
2003-05-12  5:01     ` Richard Hoskins
2003-05-03  1:50 ` Ted Zlatanov
2003-05-03  2:29 ` A different spam model, which might be possible already (was Re: Ideas for .no Gnus) Zack Weinberg
2003-05-03 11:30   ` A different spam model, which might be possible already Ted Zlatanov
2003-05-04 16:39     ` Zack Weinberg [this message]
2003-05-04 22:32       ` Ted Zlatanov
2003-05-03 13:47   ` Andrew J. Korty
     [not found]   ` <m2llxo2lc3.fsf@ajk.local.>
2003-05-04 22:37     ` Ted Zlatanov
2003-05-03 17:13 ` Ideas for .no Gnus Kai Großjohann
2003-05-04 16:38   ` Lars Magne Ingebrigtsen
2003-05-05 13:17   ` Andreas Fuchs
2003-05-11 22:36   ` Alex Schroeder
2003-05-04  0:47 ` Nicer buttons (was: Ideas for .no Gnus) Jesper Harder
2003-05-04 13:59   ` Nicer buttons Julien Avarre
2003-05-04 14:15     ` luis fernandes
2003-05-04 14:52       ` Julien Avarre
2003-05-04 15:00       ` Jesper Harder
2003-05-05 17:23         ` luis fernandes
2003-05-04 16:41 ` Ideas for .no Gnus Lars Magne Ingebrigtsen
2003-05-05 13:12 ` Andreas Fuchs
2003-05-05 14:49   ` Kai Großjohann

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=87znm2ekdu.fsf@egil.codesourcery.com \
    --to=zack@codesourcery.com \
    --cc=ding@gnus.org \
    /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).