sendmail无法发送邮件
[root@xxxx /etc]
# echo "mail content"|mail -s "send_mail_test" 1045246825@qq.com
日志报错信息如下:
sendmail[27878]: wAEA4cZ2027878: to=1045246825@qq.com, ctladdr=root(1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30230, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (wAEA4dHC027934 Message accepted for delivery)
sendmail[27805]: wAE96G40023539: to=<1045246825@qq.com>, ctladdr=<root@xxxx> (1000/1000), delay=01:04:53, xdelay=00:00:00, mailer=esmtp, pri=300506, relay=mx1.qq.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
dns没有问题