Message delivery to either an external email domain or an internal mail server is being rejected with the SMTP response 554 5.7.1 Relay access denied
.
The destination mail server is not configured to accept email for the recipient domain.
This issue is usually a configuration problem with either the destination mail server which should be configured to accept email for the recipient domain or Messaging Gateway has been configured to route mail for that domain to an email server which has not been configured to accept it.
Ensure that the email domain that is being rejected is being routed based on MX records rather than a static route configured in Protocols > Domains. This will not stop the destination server from rejecting email to that domain but will ensure that Messaging Gateway is attempting to deliver to the correct destination as defined by the DNS MX records.