首先使用指令
sudo apt-get install sendmail*
下载sendmail所需配置。
然后使用指令
ps aux |grep sendmail
可以检测下载是否成功
如果出现
root 12402 0.0 0.1 104816 4156 ? Ss 15:50 0:00 sendmail: MTA: accepting connections
root 12456 0.0 0.0 14220 932 pts/0 S+ 15:54 0:00 grep --color=auto sendmail
则说明下载成功了
下一步就是修改配置。