[issue23906] poplib maxline behaviour may be wrong

Guillermo Narvaja report at bugs.python.org
Fri Apr 10 17:26:33 CEST 2015


New submission from Guillermo Narvaja:

After #16041 was fixed, Python started to validate that lines coming from the POP server should be under 2048 bytes. 

This breaks the mail retrieval from at least dovecot servers, as this mail server does not breaks responses in 512 o 2048 sized lines.

On dovecot's side, they said there is a misunderstood of the RFC on the Python side, that the RFC 1939 "is talking about POP3 responses themselves - not about the actual email message body". You can see here the related mail thread:

http://dovecot.org/pipermail/dovecot/2015-April/100475.html

I'm not sure Who is right, but I think it's a problem (at least it was for me).

----------
components: Library (Lib)
messages: 240425
nosy: berker.peksag, christian.heimes, doko, gnarvaja
priority: normal
severity: normal
status: open
title: poplib maxline behaviour may be wrong
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23906>
_______________________________________


More information about the Python-bugs-list mailing list