You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/03/20 04:21:00 UTC

[jira] [Closed] (JAMES-3120) RemoveMimeHeader mailet should not save mail if doing nothing

     [ https://issues.apache.org/jira/browse/JAMES-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-3120.
---------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

https://github.com/linagora/james-project/pull/3209 contributing calling save method only if needed, triggering mime bugs only if removing the header is needed.

> RemoveMimeHeader mailet should not save mail if doing nothing
> -------------------------------------------------------------
>
>                 Key: JAMES-3120
>                 URL: https://issues.apache.org/jira/browse/JAMES-3120
>             Project: James Server
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: RĂ©mi Kowalski
>            Priority: Major
>             Fix For: 3.5.0
>
>
> If the mailet save the mail after having removed a header when there is invalid headers in the mail, then javax.mail will fail to save the mail and the mailet will throw and stop the processing of the mail.
> We should not try to save the mail when no header has been removed



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org