Configure Postfix to Use Gmail SMTP on Ubuntu

Using Gmail’s SMTP server as Postfix relay for reliable email delivery and also for logging all outgoing mails.