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/06/01 09:09:04 UTC

[jira] [Resolved] (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:all-tabpanel ]

Tellier Benoit resolved MAILET-156.
-----------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/816 merged

> 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)