Exim 无法读取 DKIM 密钥

Exim 无法读取 DKIM 密钥

Exim 输出(看起来像)一个权限错误:

# tail -n1 /var/log/exim/paniclog
2021-11-15 16:38:35.955 [682275] 1mme43-002rUN-QV unable to open file for reading: /etc/opendkim/keys/xxxxxxxxx.com/mail.private

尽管 Exim 看起来应该能够读取该文件

# namei -mo /etc/opendkim/keys/xxxxxxxxx.com/mail.private
f: /etc/opendkim/keys/xxxxxxxxx.com/mail.private
 drwxr-xr-x root     root /
 drwxr-xr-x root     root etc
 drwxr-x--- opendkim mail opendkim
 drwxr-x--- opendkim mail keys
 drwxr-x--- opendkim mail xxxxxxxxx.com
 -rw-r----- opendkim mail mail.private
$ groups exim
mail dovecot opendkim privkey exim

提前致谢。

答案1

找到了适合我的解决方案这里予以适当修改

相关内容