Split Domain

liorm

Verified User
Joined
Feb 2, 2012
Messages
28
Hello,

Any suggestion would be appreciated:

I have a domain which ONLY its website is set on a DA server. The domain mail server is setup on a different platform.
On that DA server the mail logs shows that emails sent to this domain (from other domains setup on the server) are unable to reach the mail server:
2014-01-01 08:11:08 H=domain.com (PC) [xx.xx.xx.xx] F=<[email protected]> rejected RCPT <[email protected]>: Unrouteable address
2014-01-01 08:11:10 H=domain.com (PC) [xx.xx.xx.xx] incomplete transaction (QUIT) from <[email protected]>

I am aware of the cause for the server not being able to reach this domain, BUT is there a way to make it work?


Thanks!
 
Last edited:
Hey,

Figured it out!

Added to exim.conf:

smarthost:
driver = manualroute
domains = domain.com
transport = remote_smtp
route_data = "smtp-server.com"


Happy holidays!
 
There is a much easier way to fix this problem...

Go the User-Level for the domain in DirectAdmin. Under the Email Management menu, click on the MX Records link.

In there, disable this setting: Local Mail Server

That will force DirectAdmin to do a DNS lookup (for the actual MX records) when delivering email to that particular domain from other users on the same server.
 
Either way will work, though for slightly different reasons. But it's probably a good idea to tell exim to not deliver locally; for that user czotos has the solution most of us probably use.

Jeff
 
Back
Top