2015/07/04更新 対応バージョン: 2.64-8 GmailのSMTPサーバを使ってsSMTPでroot宛のメール(cronジョブの結果など)を送信するには以下のようなシンプルな設定を行えばよい。 /etc/ssmtp/ssmtp.conf root=<Gmailアカウント>@gmail.com mailhub=smtp.gmail.com:587 UseSTARTTLS=YES AuthUser=<Gmailアカウント>@gmail.com AuthPass=<パスワード> メールを送信すると/var/log/mail.logには以下のようなログが記録される。 sSMTP[xxx]: Creating SSL connection to host sSMTP[xxx]: SSL connection using RSA_ARCFOUR_128_SHA1 sSMTP[xxx]: S
![[sSMTP] GmailのSMTPサーバを使ってsSMTPでroot宛のメールを送信する設定 - Life with IT](https://cdn-ak-scissors.b.st-hatena.com/image/square/63c67004f340a9cfebe1346d512a10a786385cbc/height=288;version=1;width=512/https%3A%2F%2Fl-w-i.net%2Fimg%2Flogo_256.png)