Linux使用mailx 发送邮件 [ 未指定版本 ]
[root@iZwz99qnmldt4n744noo9gZ ~]# cat /tmp/mail.log | mailx -v -s "test" 1343652445@qq.com Null message body; hope that's ok Resolving host smtp.qq.com . . . done. Connecting to 14.18.245.164 . . .Connecting to 14.18.245.164 . . .Connecting to 14.17.57.241 . . .could not connect: Connection timed out "/root/dead.letter" 11/304 . . . message not sent. could not connect: Connection timed out "/root/dead.letter" 11/304 . . . message not sent.
配置如下:
set from=1343652445@qq.com #发送邮箱
set smtp=smtp.qq.com #SMTP服务器
set smtp-auth-user=1343652445 #发送帐号
set smtp-auth-password=waebcekqwdzbfgab #邮箱密码
set smtp-auth=login #授权方式
set smtp-use-starttls
set ssl-verify=ignore
set nss-config-dir=/etc/pki/nssdb/
请问有什么注意事项
共 1 个回答
大头
注册时间:2016-11-14
最后登录:2017-07-10
在线时长:9小时42分
最后登录:2017-07-10
在线时长:9小时42分
- 粉丝7
- 金钱330
- 威望0
- 积分420