Author Topic: Put Mailserver on a different IP  (Read 553 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Put Mailserver on a different IP
« on: March 05, 2017, 10:07:33 PM »
When I orignally installed CWP It placed my mail server on my main IP, ever since I switched to CloudFlare; its handling all my IP's my question is.
Is it possible to use my (Other IP) that's not associated with my WebServer or Cloudflare; handle all my Incoming/Outgoing Mail for my mail server; instead of my main Domain?

xryu.org 37.49.224.237 - rDNS xryu.org
37.49.224.243 - rDNS mail.xryu.org

Using the hostname srv1.xryu.org on my main domain; it points it to my cloudflare; is it possible to change the hostname, to align with my other IP for the mail server instead? Or would that conflict with the whole web server?

Offline
*
Re: Put Mailserver on a different IP
« Reply #1 on: March 06, 2017, 12:55:02 AM »
I put the hostname as mail.xryu.org because that's whats assigned to 37.49.224.243 and both check out; but not able to receive "ANY" incoming mail; associated with my domain's email; I can send, but not receive. And the SPF is still my old VPS IP 37.49.224.237, I went through the Postfix to "Rebuild" the Everything including the SPF and that didn't do anything. MY DNS for my domain is this.

xryu.org.      86400      IN      NS      becky.ns.cloudflare.com
mail.xryu.org.      86400      IN      NS      xryu.org.
xryu.org.      0      IN      A      37.49.224.237
localhost.xryu.org.      0      IN      A      127.0.0.1
mail.xryu.org.      0      IN      MX      5      xryu.org.
mail      0      IN      CNAME      xryu.org.
www      0      IN      CNAME      xryu.org.
ftp      0      IN      CNAME      xryu.org.
forums      14400      IN      A      37.49.224.237      ;      #subdomainforums.xryu.org

Mail is suppose to be pointed to xryu.org because that's the main domain that I'm going to be sending from BUT how do I add the IP to link to mail.xryu.org ? which is a completely completely different IP? 37.49.224.243