From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49003 Path: main.gmane.org!not-for-mail From: Frank Schmitt Newsgroups: gmane.emacs.gnus.general Subject: Re: Stuff I stumbeled over while writing Gnus-FAQ Date: Thu, 09 Jan 2003 19:06:09 +0100 Organization: Hamme net, kren mer och nimmi Sender: owner-ding@hpc.uh.edu Message-ID: <7kdeurji.fsf@hschmi22.userfqdn.rz-online.de> References: <84u1gui4ki.fsf@lucy.cs.uni-dortmund.de> Reply-To: replies@Frank-Schmitt.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1042136001 6368 80.91.224.249 (9 Jan 2003 18:13:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 18:13:21 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WhB8-0001eK-00 for ; Thu, 09 Jan 2003 19:13:18 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18WhBS-0007VI-00; Thu, 09 Jan 2003 12:13:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 09 Jan 2003 12:14:33 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA18865 for ; Thu, 9 Jan 2003 12:14:20 -0600 (CST) Original-Received: (qmail 28120 invoked by alias); 9 Jan 2003 18:13:20 -0000 Original-Received: (qmail 28115 invoked from network); 9 Jan 2003 18:13:20 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 9 Jan 2003 18:13:20 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18WhFg-0004bG-00 for ; Thu, 09 Jan 2003 19:18:00 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 44 Original-NNTP-Posting-Host: pppin119.max-hochsimmer.rz-online.net Original-X-Trace: quimby.gnus.org 1042136280 17566 212.7.169.119 (9 Jan 2003 18:18:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 9 Jan 2003 18:18:00 GMT X-Face: :EL9TzGRN){7|oE2~xQ8Q(VjpjsXgX$~gi&rYD5J5p)$w\Thdl~v:7h`/n)J!8nXT%_+Wj6}@EHM8}QbA(9nX-wrQ:ch1%DauV[?kFasXUcnL#+"K8zOx&$@/M'/},q-eztaJra1|?C+p$h\2XnK-HB"8_U Frank Schmitt writes: > >> There's often the question "How to prevent Gnus from deleting the Mail >> on the server it retrieves from my Pop3-server", there's no >> functionality for this in any version of Gnus, so people have to use >> either something like fetchmail, or the pop3.el from XEmacs mail-lib, >> correct? And this pop3.el doesn't work with Gnu Emacs, correct too? > > Actually, the XEmacs functionality comes from epop3mail.el by > Franklin Lee, and I think that works with Emacs, too. I just did some research about epop3mail.el, but I couldn't really find a homepage or something alike for this, neither could i get hold of Franklin Lees email address. Is there anybody out there who can help me out? Is epop3mail.el still under active development? Is there any reason besides nobody did it yet, why Gnus' pop3.el can't handle this stuff? Shouldn't it be quite trivial to do? You introduce a new keyword for mail-source pop leave-on-server-p which is nil by default and when the mail shall stay on the server you set it to t. If pop3.el fetches messages and leave-on-server-p is non-nil, it retrieves first the uidls for all messages by sending the command 'uidl' to the server, then it looks in pop3-retrieved-messages (explained later) which message already have been retrieved, for all others it sends 'retr' as usual to retrieve them, adds their uidls to pop3-retrieved-messages and writes a line X-Gnus-Pop-infos: name.of.server; theUIDL. Then we need a switch at the place where 'dele' is send to the server which makes pop3.el send this command only if leave-on-server is nil and finally when a Mail is deleted, we need to delete it on the server, too. This should work and allow a per server setting of leave-on-server (epopmail.el doesn't do this) and for somebody who knows Lisp and the Gnus sources it should be a triviality to do it. -- One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.