Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vague notion but I'm not clear on the difference between local domains and "relay domains"

I believe that local domains are "localhost" and any other aliases you set the server up to mean "self".

I believe "relay" domains are "everything else?" Like if a DNS has point to this server, then is a relay domain? I am not sure about this point.

In the exim setup file - (exim4.template.conf) What does it mean "fallback MX or mail gateway for domains" - what is fallback mx? Does it mean your server is like a DNS server of sorts?

share|improve this question

Local domains are any domains which are on the server and mail to those addresses is delivered to a local mailbox (or a local alias), eg. and both deliver to john's mailbox on the server, no separation.

A virtual domain is similar, but there will be separation (eg. /var/spool/mail/ is a mailbox).

A relay domain is one which your mailserver will deliver to as though it is local, without authentication. Eg. you could configure the server to delay to even though it's not local.

If any of that is wrong, I'd be happy to be shown the error of my ways.

share|improve this answer

Fallback MX is nothing but the Secondary Mail Exchanger (MX) or Mail Server. In case if Primary MX goes down, Exim will deliver mails to Secondary MX.

share|improve this answer
And so I should have another mailserver up and running, like qmail? – bobobobo Aug 23 '10 at 14:04
It depends upon how crucial mailing services are for your organization. If you want your mailing services to be up all the time, it's better to have fall-back MX. – greenmang0 Aug 24 '10 at 5:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.