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 "Gautier DI FOLCO (Jira)" <se...@james.apache.org> on 2020/03/24 08:10:00 UTC
[jira] [Commented] (JAMES-3125) GETting full mail details in
mailQueue
[ https://issues.apache.org/jira/browse/JAMES-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065413#comment-17065413 ]
Gautier DI FOLCO commented on JAMES-3125:
-----------------------------------------
It's a privacy violation, if we do not allow an admin to read users' messages, why should we allow him/her to read soon-to-be-delivered messages?
> GETting full mail details in mailQueue
> --------------------------------------
>
> Key: JAMES-3125
> URL: https://issues.apache.org/jira/browse/JAMES-3125
> Project: James Server
> Issue Type: Improvement
> Reporter: Raphael Ouazana
> Priority: Major
>
>
> James' mail queue can be used to browse currently enqueued mails, waiting for processing.
> We can already administrate mail queues with http://james.apache.org/server/manage-webadmin.html#Administrating_mail_queues
> The goal of this ticket is two implement 2 new end points:
> curl -XGET -H 'Accept: application/json' http://ip:port/mailQueues/spool/mails/0123456789Will return{ "name": "mail-key-1", "sender": "sender@domain.com", "recipients": ["recipient1@domain.com", "recipient2@domain.com"], "nextDelivery": "Thu 12 Apr. 2020", "state": "address-error", "error": "A small message explaining what happened to that mail...", "remoteHost": "111.222.333.444", "remoteAddr": "127.0.0.1", "lastUpdated": null}curl -XGET -H 'Accept: message/rfc822' http://ip:port/mailQueues/spool/mails/0123456789Will return the EML itself
>
--
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