Sendmail
from SMTP
Sendmail
MTA
標準入力からデータを受け取り、その内容でEメールを送信するための歴史的コマンド。
現在はPostfixのユーティリティーになっている。
code:txt
man sendmail
The Postfix sendmail(1) command implements the Postfix to Sendmail compatibility interface. For the sake of compatibility with existing applications, some Sendmail command-line options are recognized but silently ignored.
https://linux.die.net/man/1/sendmail.postfix
Logwatchのバックエンドとして設定されている
sendmailを用いてメールを送信する
デフォルトの設定
code:sh
~ printf 'Subject: this line is subject\n\nthis line below be content\n' | sendmail <ADDRESS>
From: Main administrator <$USER@yokkin.com>
Delivered-To: <ADDRESS>となっているっぽい
To:はない(記載なし)