我使用以下命令从源代码编译了 opendkim:
mkdir /opt/opendkim
cd /opt/opendkim
wget https://sourceforge.net/projects/opendkim/files/opendkim-2.10.3.tar.gz
tar -xzvf opendkim-2.10.3.tar.gz
cd opendkim-2.10.3
./configure --with-openssl=/usr/bin/openssl --with-sql-backend=mysql --with-odbx
make
make install
在 configure 输出中,我可以找到这些行。我假设它已正确找到 openssl?
checking for OpenSSL includes... no
checking for OpenSSL library and includes... /usr/bin/openssl
OpenSSL 安装在 OpenSSL 3.0.8 7 Feb 2023 版本中(库:OpenSSL 3.0.8 7 Feb 2023)
opendkim -V 给出以下输出:
opendkim: OpenDKIM Filter v2.10.3
Compiled with OpenSSL 3.0.8 7 Feb 2023
SMFI_VERSION 0x1000001
libmilter version 1.0.1
Supported signing algorithms:
rsa-sha1
Supported canonicalization algorithms:
relaxed
simple
Active code options:
USE_ODBX
libopendkim 2.10.3:
尝试启动 opendkim 导致
opendkim[9049]: verifier mode operating without rsa-sha256 support; terminating