Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96360

Re: Problem with handling errors in POP3 message retrieval/deletion

From cl@isbd.net
Newsgroups comp.lang.python
Subject Re: Problem with handling errors in POP3 message retrieval/deletion
Date 2015-09-11 18:13 +0100
Message-ID <2mebcc-406.ln1@esprimo.zbmc.eu> (permalink)
References <sbcbcc-rf5.ln1@esprimo.zbmc.eu>

Show all headers | View raw


cl@isbd.net wrote:
> I have a (fairly) simple script that does 'catchall' processing on my
> POP3 mailbox.  It looks for messages To: strings that *might* be for
> me and then throws everything else away.
> 
[snip]

Sorry folks, I found the problem, it's a known 'bug' due to someone
trying to protect poplib from excessively long lines.  See:-

    https://bugs.python.org/issue16041

It's easy to work around by something like:-

    import poplib
    poplib._MAXLINE=20480


-- 
Chris Green
ยท

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with handling errors in POP3 message retrieval/deletion cl@isbd.net - 2015-09-11 17:33 +0100
  Re: Problem with handling errors in POP3 message retrieval/deletion cl@isbd.net - 2015-09-11 18:13 +0100
  Re: Problem with handling errors in POP3 message retrieval/deletion Laura Creighton <lac@openend.se> - 2015-09-11 21:17 +0200

csiph-web