Gnus development mailing list
 help / color / mirror / Atom feed
* Deleting mail with nnimap
@ 2000-10-18 13:32 Jake Colman
  2000-10-18 15:07 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Jake Colman @ 2000-10-18 13:32 UTC (permalink / raw)



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.

-- 
Jake Colman                     

Principia Partners LLC                  Phone: (201) 946-0300
Harborside Financial Center               Fax: (201) 946-0320
902 Plaza II                           Beeper: (800) 928-4640
Jersey City, NJ 07311                  E-mail: colman@ppllc.com
                                       E-mail: jcolman@jnc.com
                                          web: http://www.ppllc.com

microsoft: "where do you want to go today?"
linux:     "where do you want to go tomorrow?"
BSD:       "are you guys coming, or what?"



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Deleting mail with nnimap
  2000-10-18 13:32 Deleting mail with nnimap Jake Colman
@ 2000-10-18 15:07 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2000-10-18 15:07 UTC (permalink / raw)
  Cc: ding

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-18 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-18 13:32 Deleting mail with nnimap Jake Colman
2000-10-18 15:07 ` Kai Großjohann

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).