Configure Postfix SMTP Relay with authentication

  • Add the following to /etc/postfix/main.cf

  • Create file: /etc/postfix/smarthost.conf with content:

  • Execute:

  • Reload postfix service:

  • Send a test email via: