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

[email protected]
mailhub=smtp.gmail.com:587
rewriteDomain=
[email protected]
FromLineOverride=YES
UseSTARTTLS=YES
[email protected]
AuthPass=******

revaliases

# sSMTP aliases
# 
# Format:       local_account:outgoing_address:mailhub
#
# Example: root:[email protected]:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
root:[email protected]:smtp.gmail.com:587
alogin:[email protected]:smtp.gmail.com:587
tech/unix/ssmtp.txt · Last modified: 2024/06/21 12:04 by 127.0.0.1