Report this

What is the reason for this report?

WordPress Emails - Mailed By

Posted on May 29, 2018

Hi,

I have two WordPress sites on a droplet.

When a user registered an account on domain2.com, an activation email sent to the user. But the “mailed by:” in the header shows that it’s mailed by domain1.com.

The signed by is correct, which is signed by domain2.com.

I guess that’s the reason why it gets into spam folder? Because it’s mailed by other domain.

How do I set it to have domain2.com (and any other domains on the droplet) to be mailed by its own domain? e.g. domain2.com, mailed by domain2.com. e.g. domain3.com, mailed by domain3.com.

I have Postfix and OpenDKIM on the droplet.

Thank you.



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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.