From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10509 Path: main.gmane.org!not-for-mail From: Stainless Steel Rat Newsgroups: gmane.emacs.gnus.general Subject: Re: Adding function to pop3.el, and calling a backend from elsewhere Date: 03 Apr 1997 16:36:17 -0500 Organization: The Happy Fun Ball Brigade Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150368 24811 80.91.224.250 (20 Oct 2002 21:46:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:46:08 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id NAA03603 for ; Thu, 3 Apr 1997 13:54:29 -0800 Original-Received: from londo.asds.com (londo.prescienttech.com [199.103.216.62]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 3 Apr 1997 23:40:56 +0200 Original-Received: from gkar.asds.com (gkar.asds.com [111.17.19.1]) by londo.asds.com (8.8.4/8.8.4) with ESMTP id QAA29213 for ; Thu, 3 Apr 1997 16:40:47 -0500 Original-Received: from peorth.gweep.net (peorth.asds.com [111.17.16.8]) by gkar.asds.com (8.8.4/8.8.4) with SMTP id QAA02950 for ; Thu, 3 Apr 1997 16:40:39 -0500 Original-To: "(ding)" X-Attribution: Rat In-Reply-To: Steinar Bang's message of 03 Apr 1997 20:47:53 +0200 Original-Lines: 70 X-Mailer: Gnus v5.4.40/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:10509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10509 -----BEGIN PGP SIGNED MESSAGE----- >>>>> "SB" == Steinar Bang writes: SB> i. is it possible? Anything is possible. :) The reason I did not implement TOP is because it requires something for which to implement, and at the time I had none. SB> ii. is it stupid? I am not exactly sure what you are trying to do, so I will refrain from commenting on that. nnpop3 is stupid, though; I am convinced of this. SB> iii. is pop3.el a regular back end? Why, and how, use it, rather SB> than POP with movemail (which is what I do today, appearently) No, it is not a backend at all. It is more of a shim, an interface layer between GNU Emacs and a POP3 server, serving a purpose similar to movemail, but being implemented in Emacs-Lisp. Hypothetically, quite a few things could be written using pop3 as a generic library (which was my intent when I wrote it). To use it, you should be able to point nnmail-movemail-program at nnmail-pop3-movemail and everything should just work. nnmail-pop3-movemail is a wrapper that should Do The Right Thing, so long as you are not using a funky authentication scheme like Kerberos (which I am *NOT* going to attempt to write in Emacs-Lisp :). You may need to fiddle with the value of pop3-authentication-scheme if you use APOP authentication. SB> iv. *can* pop3-retrieve-headers be added to pop3.el? Certainly it could... unfortunately there is no standard POP3 command to do so. There is TOP, but it is not part of the core protocol, not all servers will implement it, and it does not retrive headers but the first lines of the message starting with the headers. SB> What about message numbers, and where should they be stored? That is one problem with an nnpop3 backend: they are not stored anywhere. The POP3 server generates them on the fly every time you open your maildrop through the server. SB> I assume the back end, and the POP daemon would have different SB> message numbers...? That is another problem... there is no way to keep them in sync because nothing is stored on the server side. The Post Office Protocols were never intended for this kind of use. They are nothing more than a simple way to get at your system mailbox on a remote server. Now, what I would like to see happen is the use of pop3 to bypass the crashbox stage entirely. A sort of pseudo-backend if you would, one that retrieves messages from the POP server and pipes it through the filtering process. -----BEGIN PGP SIGNATURE----- Version: 2.6.3 Charset: noconv iQCVAwUBM0QizZ6VRH7BJMxHAQG0xwP/fhvO2dJC7lXYZLMhHMDaz0PkJQyphR77 DqiL8BzQV+gXGTosXn6Xgrr5iDNHVJn+5SiTASLmQBoa94VweopLvw14dnW6Qv8q 2JkoHL0hqRRYhhbzyKvigsXaXu6JsasoRLECC6qAzhaJS5pa5eMMS8SqJ0oqH2uY N22s3J5V8BY= =S/mV -----END PGP SIGNATURE----- -- Rat \ Warning: pregnant women, the elderly, and PGP Key: at a key server near you! \ children under 10 should avoid prolonged \ exposure to Happy Fun Ball.