Configuring the DNS
Before you can use you server as a mail server, you have to specify how users and other applications will access it. It is done via DNS records. Whether you use Hosterra's name servers or those of another provider, the settings are strictly the same.
If your domain is example.com
and the ip adress of your server 1.2.3.4
, you have to create the following records:
Type: A
Host: mail.example.com
Value: 1.2.3.4
Type: A
Host: webmail.example.com
Value: 1.2.3.4
Type: MX
Host: example.com
(depending of your DNS provider, it can be your domain name, a blank string, a @
, etc.)
Value: mail.example.com
Priority: 0