Send mail using gmail

From BubbaWiki
Revision as of 18:29, 21 July 2011 by Melle Visser (talk | contribs)
Jump to navigation Jump to search

This how-to describes what steps need to be taken in order to send mail using the gmail service.

This how-to is not limited to gmail only, but also relevant for any other (TLS) mail service.

Below is the configuration I will be using during the how-to, please replace it with your own.

smtp server : smtp.myisp.com
username : eek
password : thecat
mailuser at myisp.com : eek@myisp.com
mailuser on bubba : eek@bubba.excito.com

Packages

The B3 comes with all necessary packages pre-installed.

Setup

Login to the b3 using ssh and become the root user.

su -

backup your original /etc/postfix/main.cf file

cp /etc/postfix/main.cf /etc/postfix/main.cf.orig