RE: OpenDKIM problems with Postfix

From: Justin T. Stear <>
Date: Thu, 25 Oct 2012 15:47:42 -0500

When I do "hostname" all I get is the name of the server. I actually
did use your guide (along with others) which is what brought me here.

Justin Stear

-----Original Message-----
From: Steve Jenkins []
Sent: Thursday, October 25, 2012 3:42 PM
To: Justin T. Stear
Subject: Re: OpenDKIM problems with Postfix

On Thu, Oct 25, 2012 at 1:23 PM, Justin T. Stear
<> 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
> Starting OpenDKIM Milter: opendkim: smfi_opensocket() failed
> I am assuming this has something to do with my /etc/postfix/
> 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?

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?


***Privacy Statement*** This message and/or attached documents may contain
privileged/confidential information and is intended for use by the intended
recipient only. If you are not the intended recipient indicated in this message
(or responsible for delivery of the message to such person), you may not
transmit, copy, disclose, store, or utilize this communication in any manner.
If you received this message in error, please notify the sender immediately
and permanently delete this message from your computer. If you or your employer
does not consent to internet e-mail messages of this kind, please notify the
sender immediately. The views, opinions, conclusions, and other information
expressed in this message are not given or endorsed by Maurer-Stutz, Inc. unless
it’s related to official business.
Received on Thu Oct 25 2012 - 20:47:55 PST

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