I have the following configuration:
- Server 1 with MIAB (box.mydomain.com) and external DNS for mydomain.com pointing to Server 2
- Server 2 with a RoR app (mydomain.com) and a WP blog (mydomain.com/blog)
On the Server 2, I use postfix to get WordPress to send notifications, password reset emails, etc.
When I set the recipient address to email@example.com, these notifications are received.
But when the recipient address is set to be firstname.lastname@example.org, I receive none of these WP emails. I don’t find them in the spam nor anywhere…
Are there logs that I can check to see if these emails at least hit Server 1, and do you have an idea what could be causing that?
Likely due to the postfix configuration on server 2. I’d suggest that you configure it as a smart host or preferably use a SMTP plug in for your WP installation.
And what is a ‘RoR app’?
Thanks Alento. It’s Ruby on Rails. I’ll check these!
For better understanding, what do you think could be the issue in postfix config? Basically WP creates the mail but postfix doesn’t send it because it’s an address on the same domain?
Yeah … so really … you are going to have much less grief if you use a smtp plugin for WP. If you do not, you are going to need to create a custom SPF record as well as figuring out the issue in the first place.
Actually I already have a custom SPF, which I included in the Cloudflare DNS records. I modified the one for mydomain.com from
v=spf1 mx -all
v=spf1 include:send.aweber.com mx a ip4:184.108.40.206 ip4:220.127.116.11 ip6:0000:1:2:3 mx -all
It solved the issue of having the notifications marked as “unsafe” by Gmail.
Actually this reminds me of an issue I had a couple of years ago with WP notifications on a VPS. Some loop due to postfix domain name config… (of course I don’t remember exactly what :-P). I’ll check the logs on both servers when I’m on the computer.