One of our client was facing an email issue for domains hosted on their cPanel servers to one domain whose Email was set to gsuite., when ever emails sending to this domain , its getting bounced with error saying no such user on the server, exact message is as below

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

On further debugging , we came to a resolution:

  1. the destination domain was hosted on the same server ,  even the MX records pointing to Google Servers
  2. No emails was configured locally against that domain name

What was happening ?

When sending an email, Exim will check if the domain exists in /etc/localdomains in order to determine if it should handle the email delivery locally. Since domain name exists in /etc/localdomains Exim assumed delivery would be handled locally.

Resolution, Route to Remote Mail Server

API function for cpapi2 via SSH:, use your SSH client or Terminal

]# cpapi2 –user=wwwtechsyspos Email setmxcheck domain=<domainname> mxcheck=remote

 

  • CREATE PROCEDURE SendWhatsAppMessage @AccountSid VARCHAR(50), @AuthToken VARCHAR(50), @FromNumber VARCHAR(20), @ToNumber […]

    Continue reading
  • Stockholm shoppers can use their smartphones or tablets to shop […]

    Continue reading
  • Food delivery apps have grown in popularity in recent years […]

    Continue reading
  • CREATE PROCEDURE SendWhatsAppMessage @AccountSid VARCHAR(50), @AuthToken VARCHAR(50), @FromNumber VARCHAR(20), @ToNumber […]

    Continue reading
  • Stockholm shoppers can use their smartphones or tablets to shop […]

    Continue reading

One Comment

  1. sinopsis drama Korea May 22, 2021 at 11:28 am - Reply

    Asking questions are really fastidious thing if you are not
    understanding anything completely, but this post offers nice understanding even.

Leave A Comment