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 want to install a mail server on an Ubuntu server, however I don't want to hook any domains up to it. Is it possible to configure it as an IP address, so my email address will be: me@ipAddress (example:123.456.78.901)? If so, please describe how, I am new to mail servers.

Thank you

share|improve this question

Do you want to just send mail between systems on your home network, or send mail to the outside world? Do you want to receive mail from the outside world as well?

If you just want to set up mail on a local network, this is pretty simple. Edit /etc/hosts on each of your machines to create your own names to map to your IP addresses. So for example you could put this in /etc/hosts on each machine: server1 server2 server3

and assuming each machine is configured with the given ip address, you could then comunicate between each of them using the server1, server2, or server3 names.

share|improve this answer

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.