Setup Mail on Ubuntu using Postfix ready for PHP and GMail

Recently, I switching hosting to dedicated, and needed to update my server to allow it to send and receive email to all of my accounts, which are managed by Google Apps account. After a bit of research, I finally found out what I needed to do to allow this.

A few things I wanted:
  • All emails which were forwarded to any email address on my domain should go to 1 main account
  • I should be able to send emails using PHP
  • All received emails should be managed by Google

Install a Mail Transfer Agent (MTA)

Th...
Read More