网站如何使用 sendmail 发送邮件

到 B 站观看视频

sudo su
cd /etc/mail
echo "MASQUERADE_AS(`haoqicat.com')dnl`)" >sendmail.mc
m4 sendmail.mc >sendmail.cf
/etc/init.d/sendmail restart
sendmail happypeter1983@gmail.com
Subject: Test Sendmail
From: Peter Wang <peter@haoqicat.com>
.