“发送邮件功能不起作用-Redhat 6”

时间:2019-07-18 05:51:00

标签: linux

使用sendmail实用程序时出现的问题

[root@]# /etc/init.d/sendmail status
sendmail (pid  84609) is running...  
sm-client (pid  84622) is running...

[root@]# echo "Subject: hello" | sendmail -v someone@gmail.com
someone@gmail.com... Connecting to [127.0.0.1] via relay...  
someone@gmail.com... Deferred: Connection refused by [127.0.0.1]

 [root@]# cat /etc/redhat-release
 Red Hat Enterprise Linux Server release 6.10 (Santiago)  

当我启动telnet命令时,它显示在下面的输出中。

[root@opc]# telnet localhost 25
Trying 127.0.0.1...  
telnet: connect to address 127.0.0.1: Connection refused  
Trying ::1...  

0 个答案:

没有答案