日期:2014-05-16 浏览次数:20692 次
set from=abc@qq.com
set smtp=smtp.qq.com
set smtp-auth-user=abc
set smtp-auth-password=123456
set smtp-auth=login
sendmail.sh
----------------------
#!/bin/sh
echo "test"|mailx -v -s "test" "desc@qq.com"
Resolving host stmp.qq.com. . . done.
Connecting to 61.129.71.101 . . . connected.
.....
.....
abc@qq.com... Connecting to [127.0.0.1] via relay...
abc@qq.com... Deferred: Connection refused by [127.0.0.1]