Re: OpenDKIM problems with Postfix

From: Steve Jenkins <stevejenkins_at_gmail.com>
Date: Thu, 25 Oct 2012 13:42:19 -0700

On Thu, Oct 25, 2012 at 1:23 PM, Justin T. Stear
<jtstear_at_maurerstutzinc.com> wrote:
> When attempting to start OpenDKIM I get
>
> opendkim]# service opendkim start
> Generating default DKIM keys: [WARNING]
> Cannot determine host's domain name, so skipping default key generation.
> Starting OpenDKIM Milter: opendkim: smfi_opensocket() failed
> [FAILED]
>
>
>
> I am assuming this has something to do with my /etc/postfix/main.cf.
>
> I have entered # DKIM
>
> milter_default_action = accept
>
> milter_protocol = 2
>
> smtpd_milters = inet:localhost:8891
>
> non_smtpd_milters = inet:localhost:8891
>
> and I have also tried
>
> milter_default_action = accept
>
> milter_protocol = 2
>
> smtpd_milters = inet:localhost:8891,inet:localhost:8892
>
> non_smtpd_milters = inet:localhost:8891,inet:localhost:8892
>
> Neither seems to do the trick.
>
> Any advice?

Hey, Justin. Are you following the setup steps here?

http://stevejenkins.com/blog/2011/08/installing-opendkim-rpm-via-yum-with-postfix-or-sendmail-for-rhel-centos-fedora/

Your default key generation may not be a big deal. Generate your keys
manually following the steps in that blog post, and go ahead and
ignore the default key warning.

If you do a "hostname" command in your shell, do you get a FQDN?

SJ
Received on Thu Oct 25 2012 - 20:42:32 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:44 PST