What should opendkim passwd and group be?

I reinstalled my server and decided to use postfix coming from sendmail. I installed opendkim.

My confusion is that some online set up procedures talk about passwd:group being different things. One says it's mailnull:mailnull by default on FreeBSD. Others say it needs to be set to opendkim:opendkim. By default, on installation, there is no opendkim in /etc/group or /etc/passwd.

So what should it be?

I'm also a little unsure where or how to set it in opendkim.conf.
 
Defaults uid and gid are set to mailnull into /usr/local/etc/rc.d/milter-opendkim but it can be changed into
/etc/rc.conf. I think you do not need to change defaults.
 
But pkg info -D opendkim is saying
Code:
Note: milter sockets must be accessible from postfix/smtpd;
  using inet sockets might be preferred.
 
Since it is preferred, you should set Socket inet in /usr/local/etc/mail/opendkim.conf.
 
Back
Top