我已经配置了 DKIM:
Dec 27 11:10:03 mailer opendkim[378]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)
Dec 27 11:10:10 mailer postfix/postfix-script[551]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
Dec 27 11:10:10 mailer postfix/postfix-script[719]: starting the Postfix mail system
Dec 27 11:10:10 mailer postfix/master[721]: daemon started -- version 3.4.13, configuration /etc/postfix
但是字母没有签名,我在25端口上连接,没有错误,告诉我哪个配置文件有问题?我的密钥正在验证中
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: key loaded from /etc/postfix/dkim/mail.private
opendkim-testkey: checking key 'mail._domainkey.domain.com'
opendkim-testkey: key not secure
opendkim-testkey: key OK
完全按照本指南中的配置https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf
请告诉我以哪种方式查看以及设置可能出错的地方。在此先感谢大家!
grep 套接字 /etc/opendkim.conf ->
# Socket smtp://localhost
# ## Socket socketspec
#Socket inet:8892@localhost
#Socket inet:12301@localhost
Socket inet:8891@localhost
#Socket local:/run/opendkim/opendkim.sock
sammy@mailer:~$ grep -e 8891 -e unix /etc/postfix/main.cf
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891