Connection refused by [127.0.0.1]
来源:互联网 发布:网络作家富豪榜2015 编辑:程序博客网 时间:2024/05/18 03:36
Specify *both* IP interfaces in *.mc file you use to generate sendmail.cf
and recompile it.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl
and recompile it.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.100, Name=MTA-public')dnl
找到某博主文章结尾有这句,翻译后操作,成功修复错误。
在sendmail.mc文件中的DAEMON_OPTIONS行,将Addr为127.0.0.1的Name改为MTA-local(默认是MTA),
新增同样一行,将Addr改为你的邮箱地址,Name设置为MTA-public(默认是MTA)。
最后,重编译sendmail.mc文件到sendmail.cf文件,
即用m4命令:
m4 sendmail.mc>sendmail.cf
重新启动sendmail服务
systemctl restart sendmail.service
阅读全文
0 0
- Connection refused by [127.0.0.1]
- Connection refused by [127.0.0.1]
- redhat senmail Connection refused by [127.0.0.1] 的解决方法
- sendmail错误Connection refused by [127.0.0.1]的解决
- localhost/127.0.0.1:8080- Connection refused
- Connection refused [tcp://127.0.0.1:6379]
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to "0.0" refused by server
- Xlib: connection to ":0.0" refused by server。
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- Xlib: connection to ":0.0" refused by server
- svn: E175002 connection refused by the server
- Linux connection to " " refused by server解决方法
- svn: connection refused by the server
- Splash Scrapyjs Connection was refused by other side: 111: Connection refused.
- 保留
- Spring boot 在Intellij IDEA 中的热部署
- 个人笔记
- 站点根路径
- 哈夫曼编码优化图片原理
- Connection refused by [127.0.0.1]
- 关于Idea热部署,修改代码不需要重启tomcat
- 用python学概率与统计(第二章)描述性统计:表格法,图形法
- Design a HashMap class in C++. Implement put, get methods.
- PE格式解析-区段表及导入表结构详解
- C#-wpf一个简单的井字棋程序
- Laravel 5.5 .No application encryption key has been specified
- [Search Engines笔记]17: Authority metrics
- java web学习路线