0

I want to set up multiple mail servers within one dedicated virtual server in Mediatemple.

For example, my server's primary ip address is 203.156.0.xx. My server has another IP address 203.156.0.yy. The server's outgoing mail server is 203.156.0.xx.

Currently, all domains regardless of which IP address they use have 203.156.0.xx as their mail server. Is it possible that the domains under 203.156.0.xx use 203.156.0.xx for their mail server and domains under 203.156.0.yy use 203.156.0.yy for their mail server?

Any advice will be appreciated.

Dave
  • 215
  • 3
  • 8

3 Answers3

0

Yes, just point the MX records for the respective domains to their respective mail servers.

ceejayoz
  • 32,469
  • 7
  • 81
  • 105
0

While you can set up multiple IPs & domains and have mail sending through them, the (dv)'s configuration (and most servers) will handle all mail by default through one IP. Trying to set up multiple mail servers is very complicated & requires altering the core qmail configurations. I'm curious as to why you're wanting/needing to have this sort of set up? The best way to achieve something like this is to just set up a completely different server for the domain(s).

  • @sara: I just need to differentiate the outgoing IP addresses for my websites. What I need to do is accomplished by this patch: http://www.digitaldaemon.com/FreeBSD/qmail/index.html. However, I'm not sure how to recompile Qmail myself. Can you point me to a guide in recompiling qmail for mediatemple dv? Thanks. – Dave Oct 31 '11 at 08:52
0

Multi-homed hosts are in the majority; it is straightforward to implement qmail or any other MTA to implement a system where a IPs and certificates are specific to a vdomain.

Qmail is not an elegant system nonetheless it can be retrofitted - there are some patches floating around.

A Diwan
  • 11
  • 1