解决send-mail: fatal: parameter inet_interfaces: no local interface found for ::1 没有本地接口发现::1
来源:互联网 发布:可靠性分析软件有哪些 编辑:程序博客网 时间:2024/06/06 05:56
send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
葛贡献2016-02-22 17:07:00浏览1751评论0
摘要: 发送邮件:[root@iZ23whn33jnZ log]# echo '这是邮件标题' | mail -s "这是邮件内容" 9379963xx@qq.com出现异常:[root@iZ23whn33jnZ log]# send-mail: fatal: parameter inet_...
发送邮件:
[root@iZ23whn33jnZ log]# echo '这是邮件标题' | mail -s "这是邮件内容" 9379963xx@qq.com
出现异常:
[root@iZ23whn33jnZ log]# send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
查看centos中的postfix日志
more /var/log/maillog
postfix: fatal: parameter inet_interfaces: no local interface found for ::1
vi /etc/postfix/main.cf
发现配置为:
inet_interfaces = localhost
inet_protocols = all
改成:
inet_interfaces = all
inet_protocols = all
重新启动就ok了
service postfix start
下一篇解决phpmailer在linux上发送不了问题
阅读全文
0 0
- 解决send-mail: fatal: parameter inet_interfaces: no local interface found for ::1 没有本地接口发现::1
- send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
- send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
- postfix报错postfix: fatal: parameter inet_interfaces: no local interface found for ::1
- postfix报错postfix: fatal: parameter inet_interfaces: no local interface found for ::1
- No Retrofit annotation found. (parameter #1)
- 网卡eth0,未发现连接设备Bringing up interface eth0: Error: No suitable device found: no device found for conne
- No value specified for parameter 1
- java.sql.SQLException: No suitable driver found for jdbc:mysql:/localhost/XXX?还是没有解决
- No suitable driver found for jdbc:mysql://local...
- no typehandler found for property XXXX 解决
- 解决no server suitable for synchronization found
- Bringing up interface eth2: Error: No suitable device found: no device found for connection 'System
- Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
- Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
- Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
- Bringing up interface eth0: Error: No suitable device found: no device found for connection ' Syste
- Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System
- fopen/freopen/fdopen
- 招商银行信用卡中心笔试
- ubuntu 16.04 安装ROS依赖问题
- TensorFlow
- BZOJ 1806 IOI 2007 Miners 矿工配餐
- 解决send-mail: fatal: parameter inet_interfaces: no local interface found for ::1 没有本地接口发现::1
- tomcat中间件入门学习(一)
- fresco+fastjson
- Web前端
- php代码优化
- Mysql merge分库分表
- CentOS7 ZooKeeper 集群部署
- RabbitMQ的应用场景以及基本原理介绍
- 9月21号Python生物信息学数据管理