From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/450 Path: news.gmane.org!not-for-mail From: Scott Gifford Newsgroups: gmane.emacs.gnus.user Subject: Re: Deleting mail from server with pop3 Date: 14 May 2002 03:42:15 -0400 Organization: Resource Center Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667419 6965 80.91.229.2 (31 Jan 2006 00:30:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:30:19 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:36 2006 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Cache-Post-Path: volsrv.office.rescen.org!unknown@gfn.org X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Original-NNTP-Posting-Host: zzz-063255225120.splitrock.net X-Original-NNTP-Posting-Host: zzz-063255225120.splitrock.net Original-X-Trace: nntp01.splitrock.net 1021362831 zzz-063255225120.splitrock.net (14 May 2002 07:53:51 GMT) Original-Path: quimby.gnus.org!lackawana.kippona.com!news.stealth.net!news.stealth.net!news-xfer2.newshosting.com!uunet!dca.uu.net!nntp01.splitrock.net!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:590 Original-Lines: 28 X-Gnus-Article-Number: 590 Tue Jan 17 17:27:36 2006 Xref: news.gmane.org gmane.emacs.gnus.user:450 Archived-At: Stainless Steel Rat writes: > * Paul Moore on Sun, 12 May 2002 > | What I would prefer would be to delete each message immediately after > | it has been downloaded. I looked at the code in pop3.el, and there > | doesn't seem to be a way to achieve this as the code stands. And my > | elisp skills are definitely not up to something like this... > > That is impossible given how POP works. > > The DELE command marks messages for deletion. The only time that a POP > server will expunge messages from the spool is if the connection closes > cleanly. That is, when the client sends a QUIT command. If the connection > drops then the server will remove the DELE marks once the server timeout > has elapsed. Some servers work this way, some do not. I used to use cucipop, which didn't delete messages until a QUIT (although it had a compile-time option to do the opposite); now my hosting provider users QPOP, and that *does* delete messages if I just terminate the connection without sending a QUIT. One (annoying) way to get this behaviour guaranteed by all POP servers is to fetch each message in its own POP session. A compromise is to fetch a batch of messages (5-10-25) in each session, so if you do get duplicates, at least it won't be that many... -----ScottG.