ubuntu send mail
Install components
apt-get install mailutils
apt-get install heirloom-mailx
The first command will pop up a box to let you fill in the information, just use the default.
Configure /etc/s-nail.rc
set [email protected] #设置发送邮箱
set smtp=smtp.263.net #设置smtp服务器和端口
set [email protected] #设置用户名,记得加域名啊
set smtp-auth-password=123456abc #邮箱密码,不是什么授权码
set smtp-auth=login #认证方式
echo "i love you" |mail -s "~subject~" [email protected]
In this way, you can send an email to [email protected]. snort