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

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

1 Answer 1

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:

192.168.10.1 server1.example.com server1
192.168.10.2 server2.example.com server2
192.168.10.3 server3.example.com 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

 
discard

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.