Page 1 of 1

Local mail pushed off-server

Posted: Fri Oct 23, 2009 8:34 am
by Highland
We've moved our mail server from under Plesk to an inhouse box. Rolled DNS and everything is running smoothly except that the server still thinks it's hosting those accounts and send those messages to the old boxes. I tried turning off mail for those domains but that just caused the messages to vanish. How do I get the server to start sending emails to the right place instead of locally?

Re: Local mail pushed off-server

Posted: Fri Oct 23, 2009 10:36 am
by JnascECSI
I have the same setup, our corporate mail server is a kerio Box hosted at our corporate office which is not located at our datacenter were our plesk servers are. To get it to work i had to remove all the email addresses from the domain in plesk and then turned off the mailserver for the domain.

Then Created the DNS like so:
Host Record type Value
domain.com. A 207.XX.XX.142 **PLESK IP**
webmail.domain.com. A 207.XX.XX.142 **PLESK IP**
mail.domain.com. A 70.XXX.XX.2 **IP OF MAIL SERVER NOT AT PLESK**
ftp.domain.com. CNAME domain.com.
http://www.domain.com. CNAME domain.com.
lists.domain.com. CNAME domain.com.
XX.XXX.XXX.XXX / 24 PTR domain.com.
domain.com. MX (10) mail.domain.com.
domain.com. NS ns1.nameservers.com.
domain.com. NS ns2.nameservers.com.

Re: Local mail pushed off-server

Posted: Fri Oct 23, 2009 1:26 pm
by Highland
Yeah, that was it. We moved some DNS off-server and the server wasn't resolving the email server. Added a local record and that fixed it.