chibenwa commented on pull request #256:
URL: https://github.com/apache/james-project/pull/256#issuecomment-722141233


   Thinking about it, we might want, within the mailet container, to be able to 
identify emails submitted by this API - in order for instance to allow their 
relay to remote mail server.
   
   The way we addressed this problem, for instance within the JMAP code base, 
is to position a mail attribute on the email, which can then be matched on.
   
   See for instance MailSpool::send method && SentByJmap matcher.
   
   I think this work would benefit to adapt a similar approach - this can of 
course be done as a separate PR.


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

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