DNS Preliminaries
Public mail service requires a static IP and DNS support. Here is a quick list of what you need.
IP & DNS Setup
You'll need a static IP and access to the DNS config for you domain. For the static, it's a matter of requesting the static IP from your access provider...if your service supports such...if not, read the commentary at The Internet Server Project - Part II - Planning.
For DNS, most likely the registrar for your domain has a web interface for making changes.
Checklist
- A static IP, from your access or hosting provider
- An 'A' record pointing to a name to your static ip, using a name something like "mailserver.example.domain". In this guide we'll use example.domain as a placeholder for your own domain.
- An MX record for example.domain which points at mailserver.example.domain
- CNAME or A records for mail.example.domain, smtp.example.domain and webmail.example.domain. If you use CNAME's, point them at mailserver.example.domain, if A use your static IP.


