Score:0

Configuring postfix and opendkim socket value

ma flag

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 ?

Score:1
us flag

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

Socket inet:[email protected]

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.

ma flag
Why are there 2, 8891 and 8893? I'm supposed to define sockets for both in opendkim.conf ?
us flag
Well don't put two ports then. Configure one in /etc/opendkim.conf and the same one in /etc/postfix/main.cf.
Paul avatar
cn flag
Usually `opendmarc` uses `8893`. Did you install that, too?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.