You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Tellier Benoit (JIRA)" <ma...@james.apache.org> on 2017/05/31 02:43:04 UTC

[jira] [Commented] (MAILET-156) AutomaticallySentMailDetectorImpl can not handle body part with more than 1.000 headers

    [ https://issues.apache.org/jira/browse/MAILET-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030528#comment-16030528 ] 

Tellier Benoit commented on MAILET-156:
---------------------------------------

https://github.com/linagora/james-project/pull/816 is a pull request attempting to solve this.

> AutomaticallySentMailDetectorImpl can not handle body part with more than 1.000 headers
> ---------------------------------------------------------------------------------------
>
>                 Key: MAILET-156
>                 URL: https://issues.apache.org/jira/browse/MAILET-156
>             Project: James Mailet
>          Issue Type: Bug
>          Components: Base Mailets
>    Affects Versions: master
>            Reporter: Tellier Benoit
>             Fix For: master
>
>
> *Causes* : AutomaticallySentMailDetectorImpl iterates over multipart to ensure there is no Message Delivery Notification positioned to sent automatically. To do this, it relies on MIME4J.
> However, the configuration use did not removed the limit on the number of headers, causing the detector to throw on mails with too long lines.
> *Consequences*: Such emails can not have answers generated by the VacationMailet.
> *Fix* : 
>  - Write unit test reproducing the issue
>  - Fix it by using unlimited MIME4J configuration, as everywhere else.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)