postfix-3.1.1编译安装成功, 启动的时候警报:postfix: warning: smtputf8_enable is true, but EAI support is not compi

安装完成后, 启动postfix警报: postfix-3.1.1版本的新功能, 用2.10版本没有这个警报.

postfix: warning: smtputf8_enable is true, but EAI support is not compiled in
postsuper: warning: smtputf8_enable is true, but EAI support is not compiled in
postfix/postlog: warning: smtputf8_enable is true, but EAI support is not compiled in
postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/.
postfix/postlog: warning: smtputf8_enable is true, but EAI support is not compiled in
postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/./master.lock
postfix/postlog: warning: smtputf8_enable is true, but EAI support is not compiled in
postfix/postfix-script: starting the Postfix mail system
postfix/postlog: warning: smtputf8_enable is true, but EAI support is not compiled in
postfix/postfix-script: fatal: mail system startup failed

导致了服务无法启动.

Email Address Internationalization (EAI) 电子邮件地址国际化组件, 这个警报实际上不影响服务器的启动, 服务启动失败的原因是其中的:

postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/.

解决方法简单, 将这个目录给postfix即可:

# chown -R postfix.postfix /var/lib/postfix/

关于EAI相关的警报信息, 可以在make makefile的时候, 指定不包含EAI, 如下: (To force Postfix to build without SMTPUTF8, specify:)

$ make makefiles CCARGS="-DNO_EAI ..."

如果已经编译安装完成, 不想重新编译了, 可以使用下面的简单方法, 将这个功能禁掉:

# postconf "smtputf8_enable = no"
# postfix start | reload

如此, 启动的时候就不会Warning了.

官网参考地址: http://www.postfix.org/SMTPUTF8_README.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值