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 "Raphael Ouazana (Jira)" <se...@james.apache.org> on 2020/03/23 17:01:00 UTC

[jira] [Created] (JAMES-3126) Allow filtering browse

Raphael Ouazana created JAMES-3126:
--------------------------------------

             Summary: Allow filtering browse
                 Key: JAMES-3126
                 URL: https://issues.apache.org/jira/browse/JAMES-3126
             Project: James Server
          Issue Type: Improvement
            Reporter: Raphael Ouazana


Currently, browse lists all the mails of the mailqueue.

Such an amount of data can be overwhelming for an admin to review.

This task can be enhanced by "filtering the browse"

Proposal:
 
{{curl -XGET http://ip:port/mailQueues/spool/mails?limit=100&sender=bob@linagora.comWill browse only mails sent by bob.curl -XGET http://ip:port/mailQueues/spool/mails?limit=100&recipient=bob@linagora.comWill browse only mails sent to bob.}}

This should be implemented first via a default method within the {{ManageableMailQueue}} class.

Then we can enhance the {{CassandraMailQueueBrowser}} to not load mail content from blobStore of unrelated emails.



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