Sending Mail Through Gmail's SMTP Server with msmtp

How to Configure Gmail SMTP in msmtp

I want to install msmtp on Debian10 and send mail through Gmail’s SMTP server msmtp On hosts that only send mail I used to use sSMTP a lot, but on Debian10 there is no ssmtp package. The replacement for it is msmtp Installing msmtp Copy # apt install msmtp msmtp-mta Configuration There is no configuration file in /etc, so copy the sample Copy # cp /usr/share/doc/msmtp/examples/msmtprc-system.example /etc/msmtprc Incidentally, for a per-user configuration it is [Read More]