Last active
September 18, 2019 07:02
-
-
Save asifbacchus/8c4a6c885602087258d9e2e24fb55ada to your computer and use it in GitHub Desktop.
Simple msmtp configuration to send out status emails, etc.
This file contains 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
####### | |
### mSMTP configuration | |
####### | |
## Set defaults for all accounts | |
defaults | |
auth on | |
tls on | |
tls_trust_file /etc/ssl/certs/ca-certificates.crt | |
logfile /var/log/msmtp.log | |
## Account: [email protected] | |
account myserver.com | |
host smtp.myserver.com | |
port 587 | |
from "ServerName VM" <[email protected]> | |
user [email protected] | |
password MyV3ry$3cur3P@a$$w0rd_ | |
## Set default account | |
account default: myserver.com | |
aliases /etc/msmtp_aliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the configuration referenced in my blog post about setting an easy way to use msmtp to let your Linux servers send you status emails, notifications about updates, log reports, etc. without complicated postfix or exim setups! It's here