You have noticed that the Messaging Gateway cannot deliver some outbound emails. These emails stay in the delivery queue with the message "421 4.4.0 [internal] failed to connect: no mail servers for this domain could be reached at this time."
Message Audit Log shows:
Error 421 4.4.0 [internal] failed to connect: no mail servers for this domain could be reached at this time.Attempted Delivery to: default-non-local-route
Delivery queue shows:
Route: default-non-local-routeLast error: Error 421 4.4.0 [internal] failed to connect: no mail server for this domain could be reached at this time.
This message may be caused by a number of different situations. Some typical examples are:
To investigate this issue:
A telnet test from the SMG admin command line may be used to confirm whether SMG is able to connect to the destination mail server.
nslookup -type=mx domain.testtelnet mail.domain.test 25Example
smg [10.9.2-6]> nslookup -type=mx domain.test*** Invalid option: silentServer: 127.0.0.1Address: 127.0.0.1#53
Non-authoritative answer:domain.test mail exchanger = 20 mx2.domain.test.domain.test mail exchanger = 10 mx1.domain.test.
Authoritative answers can be found from:
smg [10.9.2-6]> telnet mx1.domain.test 25Trying 192.0.2.25...telnet: connect to address 192.0.2.25: Connection timed outTrying 2001:db8::25...telnet: connect to address 2001:db8::25: Network is unreachable
Please see Troubleshoot email delivery issues using telnet for a detailed description of how to test SMTP connectivity and delivery via the telnet command.
If Messaging Gateway is configured with more than one IP address, one of those IPs will be used for non-local email delivery i.e. delivery of email to the Internet. To confirm which IP SMG is using for non-local email delivery:
This applies to