0

I have the following line in my /etc/postfix/main.cf smtpd_milters=inet:127.0.0.1:8891 inet:127.0.0.1:8893 So then What should I put for Socket in /etc/default/opendkim or /etc/opendkim.conf ?

1 Answers1

1

If you want OpenDKIM to open a listening socket on port 8891, put the following in /etc/opendkim.conf.

Socket inet:8891@127.0.0.1

Postfix will then try to reach this milter using the smtpd_milters setting shown in your question.

Follow one of many, many online guides available for how to set up OpenDKIM. For example the quickstart in Debian wiki.

glts
  • 681
  • 4
  • 14