fatal: parameter inet_interfaces: no local interface found for ::1
https://codinfox.github.io/dev/2015/04/08/postfix-cannot-start/
Solution is straightforward:
- open
/etc/postfix/main.cf
- comment out
inet_interfaces: all
- add
inet_protocol: ipv4
[root@test logs]# vim /usr/sbin/postconf
[root@test logs]# vim /etc/postfix/main.cf
[root@test logs]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-08-22 20:00:52 CST; 3min 1s ago
Aug 22 20:00:50 test systemd[1]: Starting Postfix Mail Transport Agent...
Aug 22 20:00:50 test aliasesdb[5051]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test aliasesdb[5051]: newaliases: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test postfix/sendmail[5054]: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:51 test postfix[5059]: fatal: parameter inet_interfaces: no local interface found for ::1
Aug 22 20:00:52 test systemd[1]: postfix.service: control process exited, code=exited status=1
Aug 22 20:00:52 test systemd[1]: Failed to start Postfix Mail Transport Agent.
Aug 22 20:00:52 test systemd[1]: Unit postfix.service entered failed state.
Aug 22 20:00:52 test systemd[1]: postfix.service failed.
[root@test logs]# systemctl stop postfix
[root@test logs]# systemctl start postfix
[root@test logs]# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-08-22 20:04:09 CST; 5s ago
Process: 5496 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 5493 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 5486 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 5569 (master)
CGroup: /system.slice/postfix.service
├─5569 /usr/libexec/postfix/master -w
├─5570 pickup -l -t unix -u
└─5571 qmgr -l -t unix -u
Aug 22 20:04:08 test systemd[1]: Starting Postfix Mail Transport Agent...
Aug 22 20:04:09 test postfix/postfix-script[5567]: starting the Postfix mail system
Aug 22 20:04:09 test postfix/master[5569]: daemon started -- version 2.10.1, configuration /etc/postfix
Aug 22 20:04:09 test systemd[1]: Started Postfix Mail Transport Agent.
[root@test logs]#
fatal: parameter inet_interfaces: no local interface found for ::1的更多相关文章
- mail发邮件报错 "send-mail: fatal: parameter inet_interfaces: no local interface found for ::1"
发送邮件: [root@itfswelog123]# echo '测试邮件标题' | mail -s "数据库挂啦.挂啦.起床啦 " xx@163.com 出现异常: [r ...
- send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
转载:http://blog.csdn.net/csdnones/article/details/50717934 发送邮件: [root@iZ23whn33jnZ log]# echo '这是邮件标 ...
- CentOS 7下启动postfix服务报错:fatal: parameter inet_interfaces: no local interface found for ::1
sed -i 's/inet_interfaces = localhost/inet_interfaces = all' /etc/postfix/main.cf service postfix re ...
- 解决send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
1:检查sendmail服务的状态 service sendmail status 2:开启sendmail服务 service sendmail start3:关闭sendmail服务 servic ...
- CentOS下crontab执行java程序
阿里云CentOS收不到邮件 在crontab里配置执行脚本,脚本用来执行java程序,死活不执行.单独执行脚本可以运行. 查看crontab的日志文件,/var/log/cron,发现没有收到cro ...
- 使用mutt自动发送邮件
1.Mutt安装及环境配置 1.1.安装 sudo yum install mutt 比如你要设置邮件的发信人,需要做: sudo vim /etc/Muttrc set envelope_from= ...
- Gitlab--安装及汉化
简介 gitlab是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git 项目仓库,可通过Web界面迚行访问公开的戒者私人项目.Ruby on Rails 是一个可以使你开 ...
- MySQL高可用方案--MHA部署及故障转移
架构设计及必要配置 主机环境 IP 主机名 担任角色 192.168.192.128 node_master MySQL-Master| ...
- centos下send-mail出错
当在脚本中执行发邮件操作得时候出现以下错误:send-mail: fatal: parameter inet_interfaces: no local interface found for ::1 ...
随机推荐
- 用Vue创建一个新的项目
vue的安装 Vue.js不支持IE8及以下版本.因为Vue.js使用了ECMAScript5特性,IE8显然不能模拟.Vue.js支持所有兼容ECMAScript5的浏览器. 在用Vue.js构建大 ...
- C#:使用WebRequest类请求数据
本文翻译于:https://msdn.microsoft.com/en-us/library/456dfw4f(v=vs.110).aspx 下列程序描述的步骤用于从服务器请求一个资源,例如,一个We ...
- CSS3动画那么强,requestAnimationFrame还有毛线用--摘抄
CSS3动画那么强,requestAnimationFrame还有毛线用? 这篇文章发布于 2013年09月30日,星期一,19:12,归类于 web综合. 阅读 197124 次, 今日 84 次 ...
- POJ 2411Mondriaan's Dream
题目: Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after prod ...
- windows下webrtc的编译 2016(转)
====================20160124更新============================= 推荐一个FQ工具,shadowsocks,是需要付费的,一年也才不到100块,移 ...
- Linux内存管理【转】
转自:http://www.cnblogs.com/wuchanming/p/4360264.html 转载:http://www.kerneltravel.net/journal/v/mem.htm ...
- ajax 将整个表单提交到后台处理
$(document).on('click', '.user-save-btn', function () { $.ajax({ url: 'index', type: 'post', dataTyp ...
- hdu 1099(数学)
Lottery Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Sub ...
- 2017 ACM-ICPC 北京区域赛记录
------------------------------------------------------------------------------ 出发日 拖着一个大箱子走是真的累. 下午三 ...
- Careercup | Chapter 3
3.1 Describe how you could use a single array to implement three stacks. Flexible Divisions的方案,当某个栈满 ...