Most likely, the problem is that the host name of the server is set to the name of the domain in which you are trying to send an email.
String: Status: 5.1.1 Remote-MTA: DNS; [127.0.0.1] (more specifically, 127.0.0.1) indicates that the message was delivered to the local SMTP server. Since this is not a Gmail server, this would result in a User Unknown error, such as the one you received.
To fix the problem, look at the server host name (/ etc / hostname). Also check the sendmail configuration (or its replacement). Some files you can view include (but are not limited to):
- / etc / mail / local hostnames
- /etc. / mailname
Again, some mailers, such as Postfix, have some settings in their configuration files. Find where the domain you are trying to send (e.g. example.com) is located in these files, removes links, reloads the mail daemon (e.g. sendmail), and you should be good to go.
source share