james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2442) Integration tests for RemoteDelivery
Date Wed, 04 Jul 2018 02:42:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532175#comment-16532175

Tellier Benoit commented on JAMES-2442:

[https://github.com/linagora/james-project/pull/1509] tests direct resolution.

Some more evoluted tests are required for error code integration testing...

> Integration tests for RemoteDelivery
> ------------------------------------
>                 Key: JAMES-2442
>                 URL: https://issues.apache.org/jira/browse/JAMES-2442
>             Project: James Server
>          Issue Type: New Feature
>          Components: DNSServer, Matchers/Mailets (bundled)
>            Reporter: Trần Tiến Đức
>            Priority: Major
> Currently tested:
> Gateway is working
> Direct resolution is working
> DNS failures generate a bounce. When bounce processor is specified, and when it is not.
> We would need to test :
>  * That an unreachable MX IP will generate a failover to the second MX when direct resolution
>  * That an unreachable gateway IP will generate a failover to the second gateway
>  * If all MX/gateway IPs are not reachable, a bounce is sent
>  * 5XX Errors don't trigger failover and a bounce is directly sent
>  * 4XX codes don't trigger failover, and will be retried. Moreover they can succeed on
second try, generating no bounce.
>  * 4XX codes, if answered on each try, will lead to a bounce
> Partial failure (some recipients are failing, some success):
>  * Only failed (but valid) recipients should be retried (EG 450) and can suddeed on second
>  * Only failed (but valid) recipients should be retried (EG 450) and will generate a
bounce if repeated
>  * Invalid recipients (EG 550) directly generate a bounce, and will not be retried
>  * Valid, and well delivered recipients wont be re-delivered

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message