I decided I may have installed over a point release.  I removed both RPMs and reinstalled and have the same issue.

To answer your question:
Postfix is running as postfix:postfix

[root@relay1 keys]# id postfix
uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail)

dkim-milter is running as dkim-milter

[root@relay1 keys]# id dkim-milter
uid=102(dkim-milter) gid=104(dkim-milter) groups=104(dkim-milter)

I also checked the running processes to confirm.  

Todd, I will have a go at running as postfix again, and put the socket somewhere else.

dkim-milter is running like this, (I'm just pasting the relievant part of the running process): 
 -p local:/var/run/dkim-milter/dkim-milter.sock

[root@relay1 keys]# grep Socket /etc/mail/dkim-milter/dkim-filter.conf
##  Socket socketspec
# Socket inet:port@localhost
Socket inet:20209@localhost

Does the local part need to be something else? i.e. unix?


On Feb 1, 2010, at 11:32 PM, Todd Lyons wrote:

On Mon, Feb 1, 2010 at 12:06 PM, James R. Marcus <jmarcus@edhance.com> wrote:
Seems like a few other people have had this problem.   I have been reading different forums and tried a few permissions based solutions but I still seem to be missing something.

Here is the error:
dkim-filter[8588]: Sendmail DKIM Filter v2.8.3 starting (args: -x /etc/mail/dkim-milter/dkim-filter.conf -P /var/run/dkim-milter/dkim-milter.pid -p local:/var/run/dkim-milter/dkim-milter.sock)
warning: connect to Milter service unix:/var/run/dkim-milter/dkim-milter.sock: Permission denied

What user and group is the daemon running as?  You've shown us two
users with secondary groups, but I'm not aware that the milter
actually knows how to use secondary groups.  If you're telling the
daemon to run as user postfix:mail, then you need to make the
directory owned by that uid:gid so that the daemon can delete the old
(called "stale") socket and make a new one.

Regards...      Todd
I seek the truth...it is only persistence in self-delusion and
ignorance that does harm.  -- Marcus Aurealius

The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
dkim-milter-discuss mailing list

:: James R. Marcus | Director, IT Operations
Edhance jmarcus@edhance.com 
:: v: 617-475-5360 | m: 914-772-8533
:: web: