MX Records Change

wdatkinson

Verified User
Joined
Nov 18, 2004
Messages
56
Location
Indianapolis, IN
My web hosting companies' domain is hosted on a shared box with some of our customers.

We are currently examining other mail platform solutions. I've updated our MX records appropriately and mail is flowing to the new box just fine.

However any email sent by the customers on the shared box will get delivered locally.

Any suggestions on how I can have the website, etc, hosted through DA, but force Exim to deliver the email to the other box. Its obviously doesn't follow MX records as it sees the domain as local.
 
In the user level interface you can find a section called "MX records" or similar. Therein you'll find a checkbox for whether or not you host email on the local server.

Jeff
 
I just checked that, and believe it or not, it is unchecked. I wonder if that happened when I changed the MX records for the domain, and DA detected that the MX record was no longer pointing to a local IP?

Any other ideas? The option is unchecked and any mail created on the server is delivered locally instead of do the actual MX record.
 
Jeff,

I've poked around this evening, and discovered that checking/unchecking that box adds/removes the selected domain from /etc/virtual/domains

I've verified that my domain is not in that file, and restarted exim via /etc/init.d/exim.

I played around, and if I remove the info for the domain from /etc/virtual/domainowners, then I get an error:

2005-06-08 20:04:00 1DgBSi-0007Az-1q remote host address is the local host:

Once I add it back to that file, I get:

2005-06-08 20:20:09 1DgBiL-0007G3-Kw => bill.atkinson <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=531

Got to be some way to make this work.

BTW, to test, I'm logged in as root and using the mail command from the shell....
 
We have no problem making it work, and I have no idea how your system differs from any of mine.

:(

Jeff
 
Update. I just received an email from one of our customers. Their website is on the same box as ours. So the above changes to appear to work.

However, if you do send a message from the mail command inside of a shell, it will still be delivered locally. So do not use that method to test. Make sure you set up an email account through DA on the same box to test with.

Thanks, as always, Jeff!
 
Back
Top