Hi. After lots of frustration, I finally got it to work.
First, I found this in the server log of webmail/acme:
10/05/2017 10:39:02 AM Router: Connection from server MAIL1/ACME not used; Server not in local domain.
10/05/2017 11:57:20 AM Router: Transferring mail to domain 192.168.2.20 (host 192.168.2.20 [192.168.2.20]) via SMTP
10/05/2017 11:57:20 AM Router: No messages transferred to 192.168.2.20 (host 192.168.2.20) via SMTP
10/05/2017 11:57:20 AM Router: Error transferring message 002BB1C0 via SMTP to 192.168.2.20 554 Relay rejected for policy reasons.
I excluded webmail/acme from anti relay checks in the configuration document of mail1/acme and this got rid of the second error.
As for the first error, an internet search indicated that the problem is with connection, server or configuration documents, especially the domain or ip that may be wrong.
I double and triple checked the connection, server and configuration documents on mail1 and they were all correct.
Also, if I type "trace mail1" or "trace mail1/acme" from the console of webmail1, it returns the correct IP and connects successfully to mail1.
The administration server is mail1 and it replicates the names.nsf to all other servers. So, any changes are done on the names.nsf of mail1 and this is then pushed to all the other servers.
I realised that when I open the names.nsf on webmail1 and check the server doc of mail1 (Ports, Notes Network Ports, Net Address), there is a host name (mail1.acme.mu)
If I open the server doc of mail1 on the names.nsf on mail1 there is an IP address in Ports, Notes Network Ports, Net Address. (192.168.2.20)
There are no replication errors, any new documents I create on mail1's names are correctly replicated.
I even modified the server doc and replicated but to no effect.
In the end, I shut down webmail1. Copied the names.nsf from mail1 to webmail1 (at OS level) and started webmail1.
It then got the correct value in Ports, Notes Network Ports, Net Address and mail routing is now working.
I also removed the ip of mail1 from the relay field in webmail1's config document and it is working.