Topic: FQDN will just the regular domain name do?
I've never set up a mail server before, but I am hosting a web server for many many years now on debian. I've always wanted to set up my own mail server, but always thought it couldn't be done on a dynamic IP address until I actually researched it the other day.
I'm confused on what my mx should be. I am going to be hosting this from a home server. Just a server I have had for many years running apache, mysql, PHP, etc. I don't have another server to host a mail server so everything will be on the same domain. I keep seeing examples on website using mail.example.com as a MX record. Since my mail server will be on the same exact server as everything else do I set my MX record to just example.com? Same for my hostname and host in Linux /etc/host /etc/hostname?
I've been using DNSExit for many years now for my dynamic dns needs. Probably the best free one I have run across. I know I need to set up my MX records and A record before I can even do any of this. I'm just confused on what I suppose to do. I know most people run a mail server on its own, so I would imagine that's where the mail.exmaple.com subdomain is coming from.
A little information on this would be greatly appreciated, sorry for all the noob questions.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.