I have set postfix with milter based on this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
But then posptfix reported that it can't connect to milter on that socket
I changed socket to in postfix main.cf
to :
smtpd_milters = /var/run/opendkim/opendkim.sock
non_smtpd_milters = /var/run/opendkim/opendkim.sock
and opendkim /etc/default/opendkim
to:
SOCKET="local:/var/run/opendkim/opendkim.sock" # default
Now i get following warning and my mails are not signed:
Oct 28 18:45:12 localhost postfix/cleanup[22881]: warning: Milter service needs transport:endpoint instead of "/var/run/opendkim/opendkim.sock"
How can I solve this?