====== 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 [[en:hosting:gandi-ai:module:postfix|this page]]. If you have successfully created and configured your own mail server and need to link it to a domain name: - Create an [[:en:dns:zone:a-record|A record]] to point a [[:en:glossary:host-name|hostname]] to your [[:en:hosting:manage-server:my-ip-address|server's IP Address]] - Create an [[:en:dns:zone:mx-record|MX record]] to point to your hostname. For example, let's say, **for example**, that: - You installed a mail server on a machine that has an IP address of ''123.123.123.123'' - You want to call your mail server ''mail'' - 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.