[
https://issues.apache.org/jira/browse/JAMES-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911984#comment-16911984
]
Tellier Benoit commented on JAMES-2442:
---------------------------------------
JAMES-2853 is an attempt toprovide a tool to write such tests. We plan to soon
test this issue.
> 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 try
> * 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
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]