unable to start opendkim on Ubuntu

From: Cole Tierney <colet_at_llsys.com>
Date: Wed, 5 Mar 2014 15:57:00 -0500

Hello,

I'm running Ubuntu 13.04 and I'm having trouble getting opendkim to start. I followed this tutorial:
https://help.ubuntu.com/community/Postfix/DKIM

It seems to be related to permissions on /etc/mail. I don't see anything related to opendkim in:
/var/log/mail.log

sudo service opendkim start
Starting OpenDKIM: opendkim: /etc/opendkim.conf: /etc/mail is writeable and owned by uid 107 which is not the executing uid (111) or the superuser
opendkim.

ls -ld /etc/mail
drwxr-sr-x 7 smmta smmsp 4096 Feb 20 14:02 /etc/mail

id smmta
uid=107(smmta) gid=112(smmta) groups=112(smmta),45(sasl)

id opendkim
uid=111(opendkim) gid=117(opendkim) groups=117(opendkim)

/etc/default/opendkim:
SOCKET="inet:8891_at_localhost"

/etc/opendkim.conf:
Domain putnamhill.net
KeyFile /etc/mail/dkim.key
Selector mail
Canonicalization relaxed/relaxed
DNSTimeout 5
Mode sv
SignatureAlgorithm rsa-sha256
SubDomains no
X-Header no
Statistics /var/log/dkim-filter/dkim-stats

Any ideas? Thanks for any help.

p.s. My hosting provider has not associated mail._domainkey with my dkim record, so that end is not working yet. Hopefully it will soon.

--
Cole
Received on Wed Mar 05 2014 - 20:56:20 PST

This archive was generated by hypermail 2.3.0 : Wed Mar 05 2014 - 21:00:01 PST