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

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From cl@isbd.net
Newsgroups comp.lang.python
Subject Re: Problem with handling errors in POP3 message retrieval/deletion
Date Fri, 11 Sep 2015 18:13:06 +0100
Lines 21
Message-ID <2mebcc-406.ln1@esprimo.zbmc.eu> (permalink)
References <sbcbcc-rf5.ln1@esprimo.zbmc.eu>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net at8aTmubPCOJtBcmWMMHogbgzy+rXVe7HKBOJtRNd24yG9H88=
X-Orig-Path not-for-mail
Cancel-Lock sha1:p8cQFUs20vkFFHrBZh+eCMtFrgo=
User-Agent tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.19.0-28-generic (x86_64))
Xref csiph.com comp.lang.python:96360

Show key headers only | 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