Gnus development mailing list
 help / color / mirror / Atom feed
From: Wes Hardaker <wes@hardakers.net>
Subject: I'm fairly sure that gnus/imap/agent/expiry is, um, *verb*ing mail
Date: Tue, 13 May 2003 17:02:46 -0700	[thread overview]
Message-ID: <sdk7cucs49.fsf@wanderer.hardakers.net> (raw)


I turned off the agent a while back because I thought it was causing
problems with older mail getting deleted.  I'm was quite convinced
that was the case again, as I just added my imap server back as an
agent to speed up group entry, as has been discussed here in the last
few weeks.  After an expiry process finished:

  ; relevant settings:
  (setq gnus-total-expirable-newsgroups "nnimap\\+server:mlists")

  ; done when idle:
  (gnus-group-expire-all-groups)
  (gnus-agent-expire)

I entered a mailing list that did *not* match the above expression,
and noticed that the summary was a ton shorter than normal
(specifically, the read mail (but not marked as expirable) was no
longer shown).  I figured gnus had deleted the mail again and my
earlier suspicions were confirmed.  Entering the group with a C-u to
double check showed the mail still missing.

This time, however, I went to the server buffer, removed the agent
from the imap server and re-entered my group to find that all the old
mail (read) reappeared but so had every other message that was marked
as expirable but was now no longer marked that way.

So, my best guess is that for !total-expirary groups:

  1) the agent doesn't honor the gnus-total-expirable-newsgroups flag
     and deletes the headers from its cache.

  2) While doing so, it somehow also removes the E mark for every
     article as well.

  3) this leaves things in a state which means:
     a) the agent's cached headers don't contain stuff for every
        article that is really in the backend (imap).
     b) if the agent is removed from the process, the previously
        marked articles have lose their expirary mark.

Help?
-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett



             reply	other threads:[~2003-05-14  0:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-14  0:02 Wes Hardaker [this message]
2003-05-14  3:45 ` I'm fairly sure that gnus/imap/agent/expiry is, um, *verb*ing Kevin Greiner
2003-05-14  5:17   ` Wes Hardaker

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=sdk7cucs49.fsf@wanderer.hardakers.net \
    --to=wes@hardakers.net \
    /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).