Email routing problem

Yossi

Member
Sep 12, 2015
18
0
1
Israel
cPanel Access Level
Root Administrator
Hey,

I am hosting my Email server on a different MX server, as defined in the DNS records.
My hostname is c1.

When I send mail from the server, to the same domain (account owner) using the mail() function, it doesn't work.

If the mail is sent to an outside source (such as Gmail), it would work perfectly. Since it's the same domain, it has a routing problem.

How could I fix this?

Code:
[B]Event[/B]: failure
[B]Sender User[/B]: tiy
[B]Sender Domain[/B]: example.com
[B]Sender[/B]: [email protected]
[B]Sent Time[/B]: Oct 6, 2015 2:23:14 PM
[B]Sender Host[/B]: localhost
[B]Sender IP[/B]: 127.0.0.1
[B]Authentication[/B]: localuser
[B]Spam Score[/B]: 0
[B]Recipient[/B]: [EMAIL][email protected][/EMAIL]
[B]Delivered To[/B]:
[B]deliveryuser[/B]: tiyooli
[B]deliverydomain[/B]: example.com
[B]Router[/B]: fail_remote_domains
[B]Transport[/B]: remote_smtp
[B]Out Time[/B]: Oct 6, 2015 2:23:14 PM
[B]ID[/B]: 1ZjQKn-0002E9-Do
[B]Delivery Host[/B]:
[B]Delivery IP[/B]:
[B]Size[/B]: 1.17 KB
[B]Result[/B]: The mail server could not deliver mail to [email protected] The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
Thanks a lot!
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
I think it was solved with setting the setting of the domain in the "Edit MX" to "Remote Server" instead of auto-detect..
Hello :)

I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.