The /usr/local/etc/rc.d/milter-opendkim is really very good, thankyou. However I experience startup failures which sendmail advises via its maillog:
Aug 17 13:47:11 b3 sm-mta: w7H3lB78004193: Milter (dkim): local socket name /var/run/milteropendkim/sock unsafe
sendmail doesn't like group write permissions on /var/run/milteropendkim/.
Modifying all instances of "_piddir_perms=" in the startup rc file, to
fixes the issue.
And for package builds, the same step needs to be applied to
My env is FreeBSD11.2, the rc.conf entries are
I'm sorry that this has been missed Dewayne; the same issue was picked up again recently and I have a fix, so I'll mark this as a duplicate (even though it predates the one I've prioritised).
*** This bug has been marked as a duplicate of bug 254762 ***
(In reply to Chris Rees from comment #1)
Thanks Chris, I'm glad it was addressed, and what a useful PR :)
Though I've since migrated to using s6 (rather than rc) where I address these setup issues and gain additional "peace of mind" benefits ;)