Hi,
I followed an tutorial about setting up a mailserver.
I have setup the following DNS records for my domain in DO`s DNS manager: Mx 5 mail.mydomain.com. Txt @ “v=spf1 mx -all” A mail.mydomain.com. IP.AD.RE.SS
This should setup mail.mydomain as mailserver right? I am using virtualmin which has postfix mailserver running.
This is not (yet) working for this domain, but I got it working on another domain, so that does not really matter for now. What matters is that i`m wondering if this is the ideal configuration for a mailserver. Am I not missing a few backup TXT or Mx records?
What are the best practices, DNS records or postfix tips to setup mailserver for reliable e-mail sending and receiving? Also, what are the pitfalls of my setup? I use dovecot for IMAP mail sending and receiving.
I`m totally new on this so hopefully someone can help.
What is essential that I can setup a mailserver like mail.mydomain.com, or mail.myserverfqdn.nl , something like that.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
With this configuration you are able to send mail for all servers in the world :)
remember that your vps name need to be the same of your mx name: mail.mydomain.com. When you have your vps name as your mx record name, your PTR record on DO dns servers answer with “mail.mydomain.com”, this is essentials to your server work perfectly.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.