OpenDKIM problems with Postfix

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

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


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?


Thank you,

Justin Stear


***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:24:05 PST

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