postfix安装 fatal: SASL per-process initialization failed 解决

make -f Makefile.init makefiles 'CCARGS=-DUSE_SASL_AUTH -L/usr/lib/sasl2 -lsasl2 -lz -lm'

make install

配置过后启动smtp看log,发现如下错误:

 

warning: unsupported SASL server implementation: cyrus

postfix/smtpd[13710]: fatal: SASL per-process initialization failed

postfix/master[13575]: warning: process /usr/libexec/postfix/smtpd pid 13710 exit status 1

postfix/master[13575]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

经过调查,原因如下:

[Incompat 20051220] The Postfix-with-Cyrus-SASL build procedure has

changed. You now need to specify -DUSE_CYRUS_SASL in addition to

-DUSE_SASL_AUTH or else you end up without any Cyrus SASL support.

The error messages are:

    unsupported SASL server implementation: cyrus

    unsupported SASL client implementation: cyrus

更换下面的make语句。

make -f Makefile.init makefiles 'CCARGS=-DUSE_CYRUS_SASL -L/usr/lib/sasl2 -lsasl2 -lz -lm'

搞定~

 

转载于:https://my.oschina.net/jing31/blog/6362

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值