====== Configure SSMTP for gmail ====== On the gentoo system, the ssmtp package is delivered as the base mailing system. This document will show you how to configure the ssmtp mail system for use with Google Mail. ==== ssmtp.conf ==== root=my-email@gmail.com mailhub=smtp.gmail.com:587 rewriteDomain= hostname=my.email@gmail.com FromLineOverride=YES UseSTARTTLS=YES AuthUser=my.email@gmail.com AuthPass=****** ==== revaliases ==== # sSMTP aliases # # Format: local_account:outgoing_address:mailhub # # Example: root:your_login@your.domain:mailhub.your.domain[:port] # where [:port] is an optional port number that defaults to 25. root:fname.lname@gmail.com:smtp.gmail.com:587 alogin:fname.lname@gmail.com:smtp.gmail.com:587