Tellier Benoit created MAILET-156:
-------------------------------------

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

Reply via email to