'''NOTE:''' During install of postfix, a popup box may display. If it does, select '''OK''' and then '''''Internet'''''. Add your domain name (i.e. home.com) and then select '''OK'''.
Execute Add the following to update the bottom of '''/etc/postfix/main.cf''':{{CodeText|sudo postconf -e 'relayhost<nowiki>=</nowiki>[smtp.gmail.com]:587'sudo postconf -e 'smtp_sasl_auth_enable<nowiki>=</nowiki>yes'sudo postconf -e 'smtp_sasl_password_maps<nowiki>=</nowiki>hash:/etc/postfix/sasl_passwd'sudo postconf -e 'smtp_sasl_security_options<nowiki>=</nowiki>noanonymous'sudo postconf -e 'smtp_tls_CAfile<nowiki>=</nowiki>/etc/postfix/cacert.pem'sudo postconf -e 'smtp_use_tls<nowiki>=</nowiki>yes'}}
Create '''/etc/postfix/sasl_passwd''' file with your Gmail login credentials that looks like below: