Skip to content

Commit

Permalink
Merge branch 'master' of github.com:modoboa/modoboa-webmail
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Jun 4, 2015
2 parents c16c6b0 + a9b4704 commit 7536721
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modoboa_webmail/lib/imaputils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@

# imaplib.Debug = 4

# workaround for the "got more than 10000 bytes" exception. MAXLINE
# value set to 1M, as on latest python versions.
MAXLINE = 1000000
if hasattr(imaplib, "_MAXLINE") and getattr(imaplib, "_MAXLINE") < MAXLINE:
setattr(imaplib, "_MAXLINE", MAXLINE)


class capability(object):

Expand Down

0 comments on commit 7536721

Please sign in to comment.