我根据本教程使用 milter 设置了 postfix:https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
但后来 posptfix 报告它无法连接到该套接字上的 milter
我将 postfix 中的套接字更改main.cf为:
smtpd_milters = /var/run/opendkim/opendkim.sock
non_smtpd_milters = /var/run/opendkim/opendkim.sock
Run Code Online (Sandbox Code Playgroud)
并打开dkim /etc/default/opendkim:
SOCKET="local:/var/run/opendkim/opendkim.sock" # default
Run Code Online (Sandbox Code Playgroud)
现在我收到以下警告,并且我的邮件未签名:
Oct 28 18:45:12 localhost postfix/cleanup[22881]: warning: Milter service needs transport:endpoint instead of "/var/run/opendkim/opendkim.sock"
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?