Created
March 23, 2012 05:47
-
-
Save cantremember/2167372 to your computer and use it in GitHub Desktop.
msmtp Configuration for GMail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set default values for all following accounts. | |
defaults | |
host smtp.gmail.com | |
port 587 | |
timeout off | |
protocol smtp | |
domain localhost | |
# /usr/bin/msmtp --version | |
# plain cram-md5 digest-md5 gssapi external login ntlm | |
auth on | |
user GMAIL-USER | |
password GMAIL-PASSWD | |
tls on | |
tls_starttls on | |
# WARNING: When the checks are disabled, TLS/SSL sessions will be vulnerable to man-in-the-middle attacks | |
tls_certcheck off | |
logfile /var/log/msmtp.log | |
###syslog on | |
# A system wide configuration is optional. | |
# If it exists, it usually defines a default account. | |
# This allows msmtp to be used like /usr/sbin/sendmail. | |
account default | |
# Construct envelope-from addresses of the form "[email protected]". | |
###auto_from on | |
from USER@DOMAIN | |
maildomain DOMAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment