[[https://marlam.de/msmtp/download/|msmtp donwload page]]
다음과 같이 설치했음.
./configure --prefix=/usr --sysconfdir=/etc --localstatdir=/var
make
make check
sudo make install
sudo install -vm644 /etc/msmtprc
/etc/msmtprc내용 \\ 강조부분 수정할것.
# A system wide configuration file is optional.
# If it exists, it usually defines a default account.
# This allows msmtp to be used like /usr/sbin/sendmail.
account default
# The SMTP smarthost
host your.mailhost
# Use Plain
port 25
auth off
# Construct envelope-from addresses of the form "user@oursite.example"
from user@your.domain
# Do not allow programs to override this envelope-from address via -f
allow_from_override off
# Always set a From header that matches the envelope-from address
set_from_header on
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL