Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Deleting mail with nnimap
Date: 18 Oct 2000 17:07:19 +0200	[thread overview]
Message-ID: <vafu2aajihk.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <76og0i1dh1.fsf@newjersey.ppllc.com>

On 18 Oct 2000, Jake Colman wrote:
> 
> I don't want this to be done automatically, but how do I physically
> delete an email - if I choose - after having read it?  I would want
> the mail deleted from the IMAP Server never to be seen again.

The preferred way to delete mails is to mark them as expirable.  You
can do this with `E'.  Another way is to use auto-expire which means
that Gnus hits `E' for you when you read a message.  A third way is to
use total-expire which means that all messages marked as read are also
considered expirable.  (Note the subtle difference between auto-expire
and total-expire.)

Expiration works as follows: you mark a message as expirable.
Sometime later, expiry is run, which means that old expirable articles
are physically deleted.  You can run expiry explicitly, or you can
exit a group with `q' which by default also runs expiry for that
group.  The variable nnmail-expiry-wait determines which messages are
considered `old'.

Rather than marking messages as expirable you can also use a
sledgehammer and physically delete them right away, using `B DEL'.

The term `physically delete' means that a file is removed from the
disk for the normal mail backends, but for nnimap, another step of
indirection is involved: they are flagged as `\Deleted' on the IMAP
server, and an EXPUNGE operation deletes the files of the messages
flagged as `\Deleted'.  The variable nnimap-expunge-on-close
determines whether or not EXPUNGE is done when you exit a group using
`q'. 

kai
-- 
I like BOTH kinds of music.



      reply	other threads:[~2000-10-18 15:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-18 13:32 Jake Colman
2000-10-18 15:07 ` Kai Großjohann [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

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

  git send-email \
    --in-reply-to=vafu2aajihk.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --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).