Gnus development mailing list
 help / color / mirror / Atom feed
From: Wes hardaker <hardaker@calwest.net>
Subject: a true pop3 backend?
Date: 21 Oct 1997 13:58:45 -0700	[thread overview]
Message-ID: <x7g1pu4yuy.fsf@mail.calwest.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]


It would be cool to have a true pop3 backend (nnpop).  What's the difference?

It would actually leave the messages on the pop3 server and would work
similar to the nntp backend...  Get the headers, generate the summary
and download the article when you actually requested it.  Marking
something as expirable would delete it from the server on exit.

Of course, this isn't for the idiot, as they shouldn't leave an
obscene amount of mail on a pop server that couldn't take it.  It's
for those of us that want to read mail in gnus away from our main
~/Mail directory.  I work at home 3-4 days a week, which is where I
keep my real mail.  When I actually go into the office I want to use
gnus and check my mail, possibly respond, but not actually download it
from the server.

Should be easy to implement I think.

Currently I'm using the appended patch against 0.12's pop3.el, which
is ok, but it downloads the entire set of mail multiple times.  Ick.

(I'm submitting this patch for the archives as well, obviously).

Wes
-- 
"Ninjas aren't dangerous.  They're more afraid of you than you are of them."


[-- Attachment #2: Type: text/plain, Size: 1184 bytes --]


Index: pop3.el
===================================================================
RCS file: /home/hardaker/src/cvsroot/qgnus/pop3.el,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 pop3.el
*** pop3.el     1997/10/10 15:51:46     1.1.1.1
--- pop3.el     1997/10/17 20:05:45
***************
*** 66,71 ****
--- 66,74 ----
  (defvar pop3-read-point nil)
  (defvar pop3-debug nil)
  
+ (defvar pop3-delete-incoming t
+   "Delete incoming mail from the pop server after downloading?")
+ 
  (defun pop3-movemail (&optional crashbox)
    "Transfer contents of a maildrop to the specified CRASHBOX."
    (or crashbox (setq crashbox (expand-file-name "~/.crashbox")))
***************
*** 347,354 ****
  
  (defun pop3-dele (process msg)
    "Mark message-id MSG as deleted."
!   (pop3-send-command process (format "DELE %s" msg))
!   (pop3-read-response process))
  
  (defun pop3-noop (process msg)
    "No-operation."
--- 350,358 ----
  
  (defun pop3-dele (process msg)
    "Mark message-id MSG as deleted."
!   (when pop3-delete-incoming
!     (pop3-send-command process (format "DELE %s" msg))
!     (pop3-read-response process)))
  
  (defun pop3-noop (process msg)
    "No-operation."

             reply	other threads:[~1997-10-21 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-21 20:58 Wes hardaker [this message]
     [not found] ` <x7sotuzreb.fsf@peorth.gweep.net>
1997-10-22  0:02   ` Wes hardaker
     [not found]     ` <x7lnzmpmin.fsf@peorth.gweep.net>
1997-10-22 15:16       ` Wes hardaker
1997-10-22  5:05   ` Current status of nnimap? (Was: a true pop3 backend?) Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x7g1pu4yuy.fsf@mail.calwest.net \
    --to=hardaker@calwest.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).