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

Tellier Benoit commented on JAMES-2414:
---------------------------------------

Asynchronous execution lead to bugs:
 - StoreMessageManager might unalocate resources before the listener could be 
executed, resulting in errors. 

Solution had been to copy the message.

While doing this, we also removed the "attachment capability constraint".

https://github.com/linagora/james-project/pull/1484 contributed this.

> SpamAssassin HAM SPAM reports should be asynchronous
> ----------------------------------------------------
>
>                 Key: JAMES-2414
>                 URL: https://issues.apache.org/jira/browse/JAMES-2414
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Tellier Benoit
>            Priority: Major
>
> SpamAssassin do have a significant impact on James performance (LocalDelivery 
> mailet and JMAP moves have several second delays).
> I would propose to perform asynchronously the spam/ham report operations.
> We should have a MailboxListener configuration parameter to perform this 
> synchronously in tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to