当前位置:首页 > 服务器运维 > linux > Linux定时任务时sendmail: fatal: parameter inet_interfaces: no local interface found for ::1

Linux定时任务时sendmail: fatal: parameter inet_interfaces: no local interface found for ::1

DChen3年前 (2021-04-29)linux2.46 K0

开启crontab时报这个错误

[ ~] systemctl restart crond
sendmail: fatal: parameter inet_interfaces: no local interface found for ::1

解决方法

[ ~] vi /etc/postfix/main.cf
####把下面两行####
inet_intefaces = localhost
inet_protocols = all
####改为####
inet_intefaces = all
inet_protocols = all
[ ~] systemctl restart postfix


取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

版权声明:本文由“憨小猪”发布,如需转载请注明出处。

本文链接:https://www.phper.red/post/68.html

标签: linuxcrontab

相关文章

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。