Milters reference in postfix conf

Enabling DKIM on virtualmin was almost trivial, thanks for more great software, as always.

There’s a warn/annoy issue in the postfix log that I’d like to fix.

Virtualmin re-wrote the following lines in my main.cf:

smtpd_milters = local:opendkim/opendkim.sock,inet:localhost:8891
non_smtpd_milters = local:opendkim/opendkim.socki,inet:localhost:8891

the local socket part before the commas is correct, there is no need to add the local port after the commas.

This results in the following error:
Aug 5 22:17:01 gaudete postfix/smtpd[56441]: warning: connect to Milter service inet:localhost:8891: Permission denied

Since the first part is correct, opendkim is called via socket, and all mail is signed.

If I make the change in main.cf for myself, the “Domain Keys Identified Mail” panel in Virtualmin server configuration automatically changes to “not enabled,” requiring I set up the file again, and it overwrites my change with the lines above.

This is just an annoy issue in the logs and I’d like to remove it if possible.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.