Gmail and sSMTP

This article aims to allow you to send emails from your machine without logging into the GMail Web site.

Installation
Emerge SSMTP.

Configuration
In, set the following:

In :

Usage
Install mailx to test your setup:

Test with:

To: user@domain.tld From: ssmtp@localhost Subject: sSMTP test Message body.

Alternatively, ssmtp can be used to test your setup. Create a text file:

Send the text file through ssmtp:

Check the remote account (user@domain.tld) to make sure the mail arrived.

Troubleshooting
stores failed mail deliveries in. You can resend it later using the command:

Take a look at to get more info (a syslog must be installed).

If mail returns a "command not found" error, you need to install a mail client like. If sendmail returns with this error, reemerge.