Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-150

Fail to retrieve big email because of a to many lines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1
    • Mailbox
    • None

    Description

      DEBUG 11:43:39,243 | james.imapserver | Got <tag>: A00028
      DEBUG 11:43:39,243 | james.imapserver | Got <command>: UID
      INFO 11:43:39,275 | james.imapserver | failed. Mail cannot be parsed.
      DEBUG 11:43:39,275 | james.imapserver | Processing failed:
      org.apache.james.imap.mailbox.MailboxException: failed. Mail cannot be parsed.;
      nested exception is:
      org.apache.james.mime4j.io.MaxLineLimitException: Maximum line length limit exceeded
      at org.apache.james.imap.store.ResultUtils.loadMessageResult(ResultUtils.java:151)
      at org.apache.james.imap.store.ResultIterator.next(ResultIterator.java:87)
      at org.apache.james.imap.store.ResultIterator.next(ResultIterator.java:41)
      at org.apache.james.imap.processor.fetch.FetchProcessor.doProcess(FetchProcessor.java:104)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:125)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.process(AbstractMailboxProcessor.java:80)
      at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:73)
      at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:44)
      at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:46)
      at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:65)
      at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
      at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:64)
      at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.james.mime4j.io.MaxLineLimitException: Maximum line length limit exceeded
      at org.apache.james.mime4j.parser.AbstractEntity.fillFieldBuffer(AbstractEntity.java:138)
      at org.apache.james.mime4j.parser.AbstractEntity.parseField(AbstractEntity.java:184)
      at org.apache.james.mime4j.parser.MimeEntity.advance(MimeEntity.java:130)
      at org.apache.james.mime4j.parser.MimeTokenStream.next(MimeTokenStream.java:356)
      at org.apache.james.imap.store.streaming.PartContentBuilder.to(PartContentBuilder.java:84)
      at org.apache.james.imap.store.ResultUtils.build(ResultUtils.java:225)
      at org.apache.james.imap.store.ResultUtils.addMimeHeaders(ResultUtils.java:369)
      at org.apache.james.imap.store.ResultUtils.addPartContent(ResultUtils.java:213)
      at org.apache.james.imap.store.ResultUtils.addPartContent(ResultUtils.java:189)
      at org.apache.james.imap.store.ResultUtils.loadMessageResult(ResultUtils.java:149)
      ... 15 more
      Caused by: org.apache.james.mime4j.MimeException: Maximum line length limit exceeded
      at org.apache.james.mime4j.MimeIOException.<init>(MimeIOException.java:38)
      at org.apache.james.mime4j.io.MaxLineLimitException.<init>(MaxLineLimitException.java:33)
      ... 25 more

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: