Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 foobar.com point to this server, then foobar.com 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

2 Answers 2

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. john@example.com and john@example2.com 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/example2.com/john 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 example3.com 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.