chibenwa opened a new pull request #831:
URL: https://github.com/apache/james-project/pull/831


    - The Pulsar mail queue currently do not delete delayed emails
   
    Explanation: the sequenceId of the mail is reset when
    moved from the scheduled topic to the out topic, thus
    bypassing deletes emitted while it was sitting in the
    scheduled queue.
   
    (this mechanism exist to prevent deletions to apply on
    future emails)
   
    We would likely need the sequence to be backed by some
    applicative metadata - like a timestamp?
   
     - Second problem: filter removal based on sequence number
   
    Goal: Prevent uncontrolled growth by removing
    meaningless deletion filters
   
    Assumptions: emails are ordered
   
    Pitfall: delayed messages are out of order.
   
    Please note that the JMS mailqueue is buggy regarding
    delayed messages being deleted, I used the memory implementation as a 
reference.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to