From: Joel Reicher <joel.reicher@gmail.com>
To: David Masterson <dsmasterson@icloud.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus expunge -- force?
Date: Thu, 26 Dec 2024 17:39:41 +1100 [thread overview]
Message-ID: <86o70zc5hu.fsf@gmail.com> (raw)
In-Reply-To: <877c7o6g4q.fsf@icloud.com> (David Masterson's message of "Tue, 24 Dec 2024 11:21:57 -0800")
David Masterson <dsmasterson@icloud.com> writes:
> Joel Reicher <joel.reicher@gmail.com> writes:
>
[...]
>> Why do you want to do an expunge at all?
>
> By expunge, I mean cleanup old emails. Talking about this
> properly is a little difficult because Gnus has separate
> definitions for read, deleted, expired and completely removed.
Read and expired are different kinds of Gnus marks. They do
nothing to the "existence" of the email.
Deleted is also a kind of mark, but it's defined in the IMAP spec
and so both other IMAP clients and the IMAP server might do
something with it.
Two possibilities are hide the message (some clients won't let you
see it at all) and expunge it (which I personally think of as a GC
step that frees the storage for a message that to all intents and
purposes no longer exists).
I don't know if my understanding of expunge is the way
many/most/all clients and servers implement it. It's possible they
aren't consistent with each other.
To begin with you have to get to the "deleted" status. You can use
the Gnus expiry mechanism if you want, but it's up to you. Doing B
DEL will get you there immediately, so if you're still in the
process of getting things working you might like to cleanup with a
bunch of process marks using `#' and then do B DEL. Then you can
be confident the messages have been marked as deleted (but not
necessarily expunged from the server storage).
> My issue is that I've subscribed to GNU mailing lists with my
> new zohomail.com account. While generous for a free account,
> not cleaning up the old emails will quickly run it out of space.
> Zohomail is new to me and, when I expire ('E') email in Gnus, I
> see the email in the Zoho mailer tagged with 'gnus-expire'. I
> assume that's how Gnus tracks expired mail that will be cleaned
> up at "some later time". I wanted to force that cleanup in a
> controlled way to ensure that the interface between zohomail and
> Gnus is working to cleanup old emails.
Expiry is what Gnus offers for *you* to tailor a deletion scheme
you like. For example it can be used to not delete the email at
all, but instead to move it to a trash folder.
If diskspace is your concern you need to get from deleted to
expunged. zohomail might have something to say about this, but you
probably need to check the nnimap-expunge section of (info "(gnus)
Customizing the IMAP Connection"). If zohomail is "OK" with it and
you really do want to free up diskspace ASAP, maybe set it to
immediate.
HTH.
Regards,
- Joel
prev parent reply other threads:[~2024-12-26 6:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-23 22:40 Gnus expunge -- force? David Masterson
2024-12-24 7:10 ` Joel Reicher
2024-12-24 19:21 ` David Masterson
2024-12-26 6:39 ` Joel Reicher [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86o70zc5hu.fsf@gmail.com \
--to=joel.reicher@gmail.com \
--cc=dsmasterson@icloud.com \
--cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).