Professional Documents
Culture Documents
Postfix
Postfix
Step 1: Open a terminal and update your system's repo then upgrade.
Select "Internet Site" when ask for "General type of mail configuration".
sudo vi /etc/postfix/sasl/sasl_passwd
[smtp.gmail.com]:587 yourusername@gmail.com:yourapp_password
sudo vi /etc/postfix/main.cf
relayhost = [smtp.gmail.com]:587
Step 9: Add the following entry at the end of the config file /etc/postfix/main.cf.
Step 10: Save the config file and restart the postfix service.
Then test mail using postix.