2017-09-26 146 views
0

我正在嘗試安裝milter-greylist。 http://hcpnet.free.fr/milter-greylist/ 下載並解檔後,我試圖運行配置腳本,我得到這個錯誤:未找到Milter greylist libmilter

Required libmilter not found. Use --with-libmilter 

我也試圖與

./configure --with-libmilter=/usr/lib/libmilter 

運行它的結果是一樣的。

我有libmilter安裝

/usr/lib/libmilter/libsm.a 
/usr/lib/libmilter/libsmutil.a 
/usr/share 
/usr/share/doc 
/usr/share/doc/libmilter-dev 
/usr/share/doc/libmilter-dev/copyright 
/usr/share/lintian 
/usr/share/lintian/overrides 
/usr/share/lintian/overrides/libmilter-dev 
/usr/share/bug 
/usr/lib/libmilter/libmilter.so.1.0.1 
/usr/lib/libmilter/libmilter.so 
/usr/share/doc/libmilter-dev/README.gz 
/usr/share/doc/libmilter-dev/NEWS.Debian.gz 
/usr/share/doc/libmilter-dev/changelog.Debian.gz 
/usr/share/bug/libmilter-dev 

OS是:

Distributor ID: Ubuntu 
Description: Ubuntu 12.04.5 LTS 
Release:  12.04 
Codename:  precise 

任何ideeas什麼,我需要做什麼?

回答

0

我的猜測:您需要啓用libmilter的sendmail。

在sendmail的源代碼

devtools/Site/site.config.m4

您需要:

APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')

APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')