WordPress Emails - Mailed By

Posted May 29, 2018 726 views
WordPressUbuntu 16.04


I have two WordPress sites on a droplet.

  • ( as hostname)

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

The signed by is correct, which is signed by

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 (and any other domains on the droplet) to be mailed by its own domain?
e.g., mailed by
e.g., mailed by

I have Postfix and OpenDKIM on the droplet.

Thank you.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!