Configure Postfix to send emails "via" a server [migrated]
- by Zach Russell
This is a question related to postfix and WordPress (but is more of a postfix question).
To give some background, on a professional WordPress host (like WP Engine) when I receive WordPress Mail Notifications (comments, form submissions, new users, etc...) it will say in gmail sent from "predefined wordpress admin email" via email.wpengine.com. This is not blocked by Google's spam filters or anything.
I have a cloud server set up and a WordPress site installed on it. When I send email from [email protected] it gets sent to spam and when I send email as [email protected] (me) it fails to send completely. This does, however send fine on WordPress.
This goal of this it so send all emails via mail.wptemple.com and have them not get caught by spam filters.
How can I accomplish this?