Configuring your zone for a custom mail server

This does not refer to the PostFix installed on Gandi AI, which is only for sending mail via PHP scripts on your forums, websites, etc. To see what you need to do to send mail from your Gandi AI's postfix, please refer to this page.

If you have successfully created and configured your own mail server and need to link it to a domain name:

  1. Create an A record to point a hostname to your server's IP Address
  2. Create an MX record to point to your hostname.

For example, let's say, for example, that:

  1. You installed a mail server on a machine that has an IP address of 123.123.123.123
  2. You want to call your mail server mail
  3. Your domain name is called example.com

You would then need the following records in your zone file for the domain example.com:

mail 10800 IN A 123.123.123.123 
@ 10800 IN MX 10 mail.example.com. 
Last modified: 08/03/2012 at 23:06 by Amy B. (Gandi)