From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/441 Path: news.gmane.org!not-for-mail From: Adrian Aichner Newsgroups: gmane.emacs.gnus.user Subject: Re: Deleting mail from server with pop3 Date: 12 May 2002 23:23:16 +0200 Organization: The XEmacs Project 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 1138667413 6922 80.91.229.2 (31 Jan 2006 00:30:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:30:13 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:35 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!news.ems.psu.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: AichnerAd@D5DC120J Original-X-Trace: news.t-online.com 1021238623 05 17383 BJAVbnlEShYgIV 020512 21:23:43 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520002458184-0001@t-dialin.net X-Face: 4[iHdXiTu\V3u[~\I)*}#kYF[-tYl3VZga/HSOP|K,{L Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9 =w|R6U3_;SH&B >>>>> "Paul" == Paul Moore writes: Hi Paul, Paul> If I understand the code correctly (*not* a foregone Paul> conclusion :-)) gnus uses pop3.el from the xemacs mail-lib Paul> package to do POP3 retrieval of mail. The sequence of events The XEmacs gnus package does, yes. Paul> when retrieving mail is: first, retrieve messages 1..N, then Paul> delete messages N..1. Paul> I have a problem with this. My ISP has a tendency towards Paul> randomly dropping the connection. When this happens during a Paul> mail retrieval, I get a load of downloaded messages which Paul> haven't been deleted off the server. This has two Paul> consequences - first, there is a big chunk of data which Paul> gets downloaded twice, and second, mail gets duplicated (if Paul> I let the crashbox be processed) or lost (if I delete the Paul> crashbox). Paul> What I would prefer would be to delete each message Paul> immediately after it has been downloaded. I looked at the Paul> code in pop3.el, and there doesn't seem to be a way to Paul> achieve this as the code stands. And my elisp skills are Paul> definitely not up to something like this... Paul> Does anyone know of a way of achieving something like this? Paul> Or alternatively, am I doing something wrong? If the Paul> connection drops while pop3 is downloading or deleting Paul> messages, is there a way of recovering *without* getting Paul> duplicate messages? I am using (setq nnmail-treat-duplicates 'delete) and don't have to worry about any duplicates. This does not fix the double download problem, though. In some cases I have to go and move ~/.uidls out of the way when Gnus does not want to download mails, which I had previously disqualified via (setq pop3-maximum-message-size 524288) Adrian Paul> Thanks, Paul (Just finished trawling through a couple of Paul> hundreds of spam messages, each duplicated 3 times :-() Paul> PS "Get a new ISP" is a reasonable suggestion, but Paul> unfortunately not practical... -- Adrian Aichner mailto:adrian@xemacs.org http://www.xemacs.org/