Gnus development mailing list
 help / color / mirror / Atom feed
From: Stainless Steel Rat <ratinox@peorth.gweep.net>
Subject: Re: POP3 fragile?
Date: Tue, 15 Jul 2003 19:56:54 -0400	[thread overview]
Message-ID: <m37k6j5oop.fsf@peorth.gweep.net> (raw)
In-Reply-To: <87wuejcvlo.fsf@deneb.enyo.de> (Florian Weimer's message of "Tue, 15 Jul 2003 23:45:39 +0200")

* Florian Weimer <fw@deneb.enyo.de>  on Tue, 15 Jul 2003
| Does unwind-protect catch C-g?

Catch as in "mask the interrupt"?  I believe not.
Even if it does, the worst that can happen with stock pop3.el is that
you'll have a bunch of stuff in the crashbox and copies of those messages
on the server.

| I imagined that the client might send a QUIT while many, many messages
| are still buffered at the transport layer.  However, this is
| impossible; the protocol ensures implicit resynchronizes before each
| messages.

Exactly.  The POP protocols were designed to be both simple and robust
enough for the dumbest of MS-DOS mail clients.  They are quite tolerant of
client and link failures of various sorts.  As I said, the catastrophic
loss you experienced should not be possible unless the server is doing
something very badly broken.

Recent versions of qpopper can be configured to automatically issue DELE
commands after each successful RETR, to foil (ab)use of "leave mail on
server".  But even so, messages are not purged unless the client explicitly
issues a QUIT command and closes the session gracefully.  It may be that
you have a hacked POP server that expunges messages immediately after a
successful RETR.

-- 
Rat <ratinox@peorth.gweep.net>    \ Warning: pregnant women, the elderly, and
Minion of Nathan - Nathan says Hi! \ children under 10 should avoid prolonged
PGP Key: at a key server near you!  \ exposure to Happy Fun Ball.
       That and five bucks will get you a small coffee at Starbucks.



  reply	other threads:[~2003-07-15 23:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 18:46 Florian Weimer
2003-07-14 22:50 ` Marcelo Toledo
2003-07-14 22:55 ` Xavier Maillard
2003-07-15 10:25   ` Florian Weimer
2003-07-15 13:15     ` Mike Woolley
2003-07-15 14:58     ` Stainless Steel Rat
2003-07-15 20:48       ` Florian Weimer
2003-07-15 21:07         ` Stainless Steel Rat
2003-07-15 21:45           ` Florian Weimer
2003-07-15 23:56             ` Stainless Steel Rat [this message]
2003-07-16  0:08               ` Florian Weimer
2003-07-16  3:38                 ` Stainless Steel Rat
2003-07-16  2:29     ` Marcelo Toledo
2003-07-15  8:03 ` Kai Großjohann
2003-07-15 21:47   ` Florian Weimer
2003-07-15 23:47 ` Florian Weimer
2003-07-16 23:59   ` Matthias Andree

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=m37k6j5oop.fsf@peorth.gweep.net \
    --to=ratinox@peorth.gweep.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).