-
centOS使用mailx发信
发布于:2016-11-24 作者:Garany 评论(0) 引用(0) 浏览(1244) 分类:破万卷书
1.安装mailx # yum -y install mailx # ln -s /bin/mailx /bin/mail 2.设置mailx发信账号 # vim /etc/mail.rc 添加如下内容 set from=g****y@163.com set smtp=smtp.163.com set smtp-auth-user=g****y set smtp-auth-password=123456 set smtp-auth=login 注意,163邮箱开启smtp,POP3。其中smtp-auth-password为授权码 3.发送测试邮件 # cat /etc/passwd |mail -s 'PWD' g****y@qq.com
最新微语
最新文章
链接
最新评论
- EdwardSoype 说:
十字路口,我们分着走。你走我的泪,... - 热搜 说:
文章还不错支持一下 - 头条 说:
文章非常好超喜欢 - 新闻头条 说:
文章非常好超喜欢 - 今日头条新闻 说:
文章还不错支持一下