sendmail: fatal: parameter inet_interfaces: no loc

服务器技术 / 301人浏览 / 0人评论

centos 新建crontab任务的时候,查看任务状态时发现提示一个错误:""sendmail: fatal: parameter inet_interfaces: no local interface found for ::1

提示参数inet_interfaces::1没有找到本地接口,提示如下:

Image


解决办法:

切换到 /etc/postfix 目录下,找到 main.cf 文件

执行:

vim main.cf

找到

inet_interfaces = localhost
inet_protocols = all

更改为:

inet_interfaces = all
inet_protocols = all

效果为:
Image

评论列表

还没有人发表评论

发表评论 取消回复