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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/06/18 04:53:00 UTC

[jira] [Closed] (JAMES-2853) Testing toolbox for Remote Delivery

     [ https://issues.apache.org/jira/browse/JAMES-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-2853.
---------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

All sub-issues are closed, so should be the story ticket

> Testing toolbox for Remote Delivery
> -----------------------------------
>
>                 Key: JAMES-2853
>                 URL: https://issues.apache.org/jira/browse/JAMES-2853
>             Project: James Server
>          Issue Type: Test
>          Components: Remote Delivery, tests
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 3.5.0
>
>
> Today, remoteDelivery is lightly tested and error corner cases are not tested.
> Several bugs are already known cf JAMES-2097
> JAMES-2442 is an attempt to write such tests but some of these tests require not-yet available tooling.
> In order to write such tests we need :
>  - 1.  a tcp mock server (replying smtp error codes)
>  - 2. listening on port 25
>  - 3. on it's own IP
> The FakeSmtp docker approach we had so far covers 2 & 3. We did not find yet a good solution for 1.
> What we had in mind is:
>  - Writing our own SMTP mock server (POC available here: https://github.com/linagora/james-project/pull/2545
>  - Introduce a JSON format corresponding to the behavior of this Mock server
>  - load this via HTTP to allow remote setup
>  - exposes delivered emails over HTTP to allow writing assertions
>  - dockerizing this.
> This will allow writing the tests we are missing.



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