User Tools

Site Tools


tech:unix:ssmtp

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
tech/unix/ssmtp.txt · Last modified: 2024/02/21 19:09 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki