Configuring postfix’s outbound email server

If you need to configure your local server to send outbound email via a specific host (such as if your server does not have port 25 access to the internet or if you are using Amazon’s SES service to send your emails using the SMTP host integration method), you may wish to configure your postfix service to send all emails via a specified SMTP server. This is often referred to as a “Smart host” or “Relay host”. Doing so will eliminate the requirement to configure the use of an external mail server/service in your code files for each specific application and to the application will appear to be a local mailing service.

Continue reading “Configuring postfix’s outbound email server”