Configure postfix to relay mails using Gmail

Install postfix

Create file

Add

Save and exit editor. Run

Edit postfix configuration file

Find and remove

At end of the file, add

Restart postfix

Now all mails will be forwarded using gmail.

Test Email Delivery

Install mailutils

On CentOS

To sent test email, run

Check mail log

See postfix

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *