Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Paul Moore <gustav@morpheus.demon.co.uk>
Subject: Deleting mail from server with pop3
Date: 12 May 2002 21:05:47 +0100	[thread overview]
Message-ID: <pu015e18.fsf@morpheus.demon.co.uk> (raw)

If I understand the code correctly (*not* a foregone conclusion :-))
gnus uses pop3.el from the xemacs mail-lib package to do POP3
retrieval of mail. The sequence of events when retrieving mail is:
first, retrieve messages 1..N, then delete messages N..1.

I have a problem with this. My ISP has a tendency towards randomly
dropping the connection. When this happens during a mail retrieval, I
get a load of downloaded messages which haven't been deleted off the
server. This has two consequences - first, there is a big chunk of
data which gets downloaded twice, and second, mail gets duplicated (if
I let the crashbox be processed) or lost (if I delete the crashbox).

What I would prefer would be to delete each message immediately after
it has been downloaded. I looked at the code in pop3.el, and there
doesn't seem to be a way to achieve this as the code stands. And my
elisp skills are definitely not up to something like this...

Does anyone know of a way of achieving something like this? Or
alternatively, am I doing something wrong? If the connection drops
while pop3 is downloading or deleting messages, is there a way of
recovering *without* getting duplicate messages?

Thanks,
Paul (Just finished trawling through a couple of hundreds of spam
messages, each duplicated 3 times :-()

PS "Get a new ISP" is a reasonable suggestion, but unfortunately not
practical...


             reply	other threads:[~2002-05-12 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-12 20:05 Paul Moore [this message]
2002-05-12 21:23 ` Adrian Aichner
     [not found] ` <m3bsbjc2yf.fsf@peorth.gweep.net>
2002-05-14  7:42   ` Scott Gifford

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=pu015e18.fsf@morpheus.demon.co.uk \
    --to=gustav@morpheus.demon.co.uk \
    /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).