Learn about Centmin Mod LEMP Stack today
Register Now

Email How do I properly configure my server to send email?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by Shmee, Apr 18, 2015.

  1. Shmee

    Shmee New Member

    Aug 27, 2014
    Local Time:
    4:02 PM
    I'm using the new beta centos 7 version and I'm loving the automated wordpress install feature. I noticed though that emails being sent from the server are being caught in spam filters.

    I read somewhere I need to setup reverse dns and do some things to be able to send emails without being flagged. Can anyone give me a point in the right direction?
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    4:02 PM
    Nginx 1.25.x
    MariaDB 10.x
    To insure email sent from your Centmin Mod LEMP server's postfix MTA doesn't end up in email recipient's spam box, you need to at least have proper DNS level configurations for
    1. SPF record setup in DNS with your DNS provider. SPF record is a DNS text record so how you add it will depend on your DNS provider. Some info here, here and here. Also SPF guides from some Domain/DNS providers such as Namecheap.com, Godaddy.com, and check out SPF Wizard - SPF Generator DNS tool
    2. Reverse PTR record, you will need to ask your web host for that. Some web hosts and VPS providers use SolusVM control panels and allow you to setup a PTR record yourself. Basically it points your server's IP to your domain name. So when a reverse lookup on the IP is made, it resolves to your domain name. For instance the PTR record for this forum's IP = resolves to community.centminmod.com when you do a reverse IP lookup at IP Address Lookup (IPv4 & IPv6) I use Linode.com for my forum hosting and their control panel has the relevant PTR record support for reverse dns.