peratik

Member
Aug 31, 2013
16
0
1
cPanel Access Level
Root Administrator
Hello

We have an email account [email protected] on a cpanel server

We have an email account [email protected] on other server (windows)

We can send emails to [email protected] from any email address (gmail, yahoo, msn, ...)

We have a contact us php script on domain.net (cpanel server) that sends the form results from [email protected] to [email protected], but it says:

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:

[email protected]
(ultimately generated from [email protected])
No Such User Here
[email protected] is exists on the windows server and works. when we change [email protected] into the php code to another email, it works.

Why it says "No Such User Here" and how can we fix it? Please help.

Regards
 

samachosting

Member
Apr 25, 2014
12
0
1
cPanel Access Level
Root Administrator
Try adding domain.net in /etc/remotedomains and remove the same domain in /etc/localdomains

Then service exim restart
 

samachosting

Member
Apr 25, 2014
12
0
1
cPanel Access Level
Root Administrator
Firstly try troubleshooting through mail troubleshooter available in the whm.

Take a backup of /etc/localdomains and try changing it as said previously.

Paste the exim error log here with respect to this email transaction if still faces issues.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

It's actually "domain.com" that you want to ensure is not in the /etc/localdomains file, based on the example you provided. The other poster suggested "domain.net", but that domain is supposed to be in the /etc/localdomains file based on your example.

Thank you.