Wordpress PostFix password reset email goes to spam folder

Emails sent from Wordpress end up in spam folder. I have read that I need to add an SPF record to my domain name, which I did.

My SPF looks like this:

v=spf1 mx a ip4: ~all

Email header looks like this:

Received: by with SMTP id r35csp1314093edr;
        Fri, 21 Oct 2016 02:30:55 -0700 (PDT)
X-Received: by with SMTP id j141mr9507395wmf.108.1477042255242;
        Fri, 21 Oct 2016 02:30:55 -0700 (PDT)
Return-Path: <>
Received: from malatherapy ([])
        by with ESMTPS id h62si2848317wmg.52.2016.
        for <>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 21 Oct 2016 02:30:55 -0700 (PDT)
Received-SPF: neutral ( is neither permitted nor denied by best guess record for domain of client-ip=;
       spf=neutral ( is neither permitted nor denied by best guess record for domain of
Received: by malatherapy (Postfix, from userid 33) id EAD8D100098; Fri, 21 Oct 2016 09:30:54 +0000 (UTC)
Subject: [MalaTherapy] Password Reset
X-PHP-Originating-Script: 33:class-phpmailer.php
Date: Fri, 21 Oct 2016 09:30:54 +0000
From: Malatherapy <>
Message-ID: <>
X-Mailer: PHPMailer 5.2.14 (
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

So any ideas?

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Beside spf record, you can try to setup PTR record. Making it on DigitalOcean is easy. Just make sure you Droplet is named with a fully qualified domain name. To do it, go to Control Panel, select your Droplet and click on its name. It will show you box where you need to edit from existing to new name. So if your domain is, Droplet should be named as that too.

To verify it’s successful, go to Networking, PTR records and it should be there.

After that try sending it again and good luck :)

Update: Fixed the SPF record, but still email goes to spam folder…