From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49019 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Stuff I stumbeled over while writing Gnus-FAQ Date: Fri, 10 Jan 2003 02:59:44 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84u1gui4ki.fsf@lucy.cs.uni-dortmund.de> <7kdeurji.fsf@hschmi22.userfqdn.rz-online.de> 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 1042164005 7195 80.91.224.249 (10 Jan 2003 02:00:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 02:00:05 +0000 (UTC) Cc: ding@gnus.org 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 18WoSl-0001r8-00 for ; Fri, 10 Jan 2003 02:59:59 +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 18WoSs-0002NE-00; Thu, 09 Jan 2003 20:00:06 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 09 Jan 2003 20:01:02 -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 UAA19998 for ; Thu, 9 Jan 2003 20:00:48 -0600 (CST) Original-Received: (qmail 16253 invoked by alias); 10 Jan 2003 01:59:48 -0000 Original-Received: (qmail 16248 invoked from network); 10 Jan 2003 01:59:48 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by 66.230.238.6 with SMTP; 10 Jan 2003 01:59:48 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id h0A1xiRr006275 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 10 Jan 2003 02:59:45 +0100 Original-To: replies@Frank-Schmitt.net Mail-Copies-To: nobody X-Payment: hashcash 1.1 0:030110:replies@Frank-Schmitt.net:11d4b70959a4e416 X-Hashcash: 0:030110:replies@Frank-Schmitt.net:11d4b70959a4e416 X-Payment: hashcash 1.1 0:030110:ding@gnus.org:1c7ada8991db3bed X-Hashcash: 0:030110:ding@gnus.org:1c7ada8991db3bed In-Reply-To: <7kdeurji.fsf@hschmi22.userfqdn.rz-online.de> (Frank Schmitt's message of "Thu, 09 Jan 2003 19:06:09 +0100") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49019 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49019 Frank Schmitt writes: > kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > >> 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? The last release I have is 0.9.9.5 from 04/16/2000. It says the address is lee.franklin -a-t- worldnet.att.net. The file is called "ep3m-0995.zip". > 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. Sounds like a good idea. If you do the work, it would be nice if you base it on something that can be included in Emacs so it benefits everyone.