If you do not run mail server on your linux desktop, you can still use msmtp, which has same interface as sendmail.
msmtp can be used to send system emails because of this sendmail interface.
This is working /etc/msmtprc on my system
defaults
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account default
host smtp.gmail.com
port 587
auth on
user ****@gmail.com
password ********
from ****@gmail.com
logfile /var/log/msmtp.log
ref: http://www.absolutelytech.com/2010/07/17/howto-configure-msmtp-to-work-with-gmail-on-linux/
No comments:
Post a Comment