Messages are accumulating in the Messaging Gateway Delivery Queue with an SMTP status indicating that the domain has been marked as down due to delivery failures.
Transient Delivery Attempts | Failure Time | Details | Recipient |
Attempted Delivery to: default-non-local-route | Thursday, Jan 03, 2023 03:48:55 PM CET | 451 4.4.1 [internal] connection was not attempted: domain is marked down (too many connection failures) | [email protected] |
When too many connection attempts to the destination mail server for a domain fails; that domain is marked as "down" by the Messaging Gateway for a short period of time. How long the SMG MTA waits before reattempting connections to a domain marked as "down" is based on the minimum retry interval configuration and defaults to 15 minutes.
This is to conserve resources when, after repeated connection failures, the destination server is unlikely to be reachable.
During the period of time when a domain is marked down, SMG immediately queues messages for that domain rather than attempting delivery.
Once the domain is no longer marked as down, delivery of new messages will be attempted immediately and delivery of queued messages will be attempted at the next queue cycle (usually within fifteen minutes).
This is usually the result of the destination mail server being unreachable for reasons such as:
In case of SMG not using DNS MX records for mail routing but rather a static route in Protocols > Domains, check that the remote server is reachable via telnet from the command line as shown below and confirm that firewall rules are not preventing mail delivery to the destination IP:
smg> telnet mail.example.com 25
Trying 192.0.2.25...
Connected to 192.0.2.25.
Escape character is '^]'.
220 mail.example.com ESMTP Mail
quit
221 2.0.0 Bye
Connection closed by foreign host.
Note: Flushing the delivery queue will not cause messages for a "down" domain to be re-attempted until the timeout has expired and the destination server is reachable. Restarting the SMG MTA will reset all domains marked as down and messages queued for those domains will be reattempted immediately or at their next retry time.