Sendmail日志中经常有这样的提示:Connection refused
2013-10-13 16:57
302 查看
查看/var/log/maillog,提示“Connection refused by IP地址”
原来Redhat SMTP默认仅绑定127.0.0.1,不能访问外部网络。
因此需要更改/etc/mail/sendmail.cf文件,将
O DaemonPortOptions =Port=smtp,Addr=127.0.0.1, Name=MTA
改为
O DaemonPortOptions =Port=smtp, Name=MTA
重启sendmail
service sendmail restart.
原来Redhat SMTP默认仅绑定127.0.0.1,不能访问外部网络。
因此需要更改/etc/mail/sendmail.cf文件,将
O DaemonPortOptions =Port=smtp,Addr=127.0.0.1, Name=MTA
改为
O DaemonPortOptions =Port=smtp, Name=MTA
重启sendmail
service sendmail restart.
相关文章推荐
- trainging contest#2(2011成都现场赛)D BY bly
- BIC AIC HQ
- adb not responding you can wait more
- AIDL实现不同应用间的通信
- 容器-container 在 cell 中的定义和使用
- HDU--1039 -- Easier Done Than Said?
- atomic/nonatomic/retain/assign/copy
- Leetcode Climbing Stairs
- wait和waitpid详解
- UltraISO 使用教程(二)--硬盘文件制作成ISO格式
- Relay log read failure
- 包装类DataOutputStream、DataInputStream的常见用法
- MFC框架中消失的WinMain()
- uva 10986 - Sending email(最短路Dijkstra)
- 错误解决:SharePoint Designer 2010编辑后,出现数据源控件未能执行插入命令,data source control failed to execute the insert command
- PAIR PROJECTS 附加题
- Grails2.3.0 Rest 支持之respond和responseFormats
- 有用的Grails插件
- HDU3268 Columbus’s bargain
- Run-Time Check Failure #2 - Stack around the variable 'ucPriKey' was corrupt