vim /etc/mail.rc #postfix
set from=lyj201551@163.com
set smtp=smtp.163.com
set smtp-auth-user=lyj201551@163.com
set smtp-auth-password=HRRXMGYQIREFRRFO
set smtp-auth=login
测试
echo "我是闫佳芹的爸爸" |mail -s "我是刘永江" 6666666@qq.com
set from=lyj201551@163.com
set smtp=smtp.163.com
set smtp-auth-user=lyj201551@163.com
set smtp-auth-password=HRRXMGYQIREFRRFO
set smtp-auth=login
echo "我是闫佳芹的爸爸" |mail -s "我是刘永江" 6666666@qq.com
本文标题:linux邮箱
本文链接:https://www.haomeiwen.com/subject/dapwrltx.html
网友评论