RE: OpenDKIM problems with Postfix

From: Justin T. Stear <>
Date: Fri, 26 Oct 2012 11:57:25 -0500

Here is what I have found using: lsof -i tcp:8891
opendkim 32652 postfix 3u IPv4 13479929 0t0 TCP (LISTEN)

This box was setup by a previous admin. We are running postfix,
amavisd-new, and clamav. It appears that postfix is using the opendkim

I have put opendkim on 8892 and I can now start opendkim without errors.
I still do not see any messages being signed though. Also, how will
this interact with my users which use their phones for email?

Justin Stear

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

On Thu, Oct 25, 2012 at 2:02 PM, Justin T. Stear
<> wrote:
> Steve,
> It appears you have fixed a networking problem as well. Now I am
> getting,
> opendkim]# service opendkim start
> Generating default DKIM keys: [ OK ]
> Default DKIM keys for created in /etc/opendkim/keys.
> Starting OpenDKIM Milter: opendkim: smfi_opensocket() failed
> So, it looks like once smfi_opensocket error gets fixed I should be
> to go.
> Thank you for your help!

Cool - I figured that would fix the networking stuff, but the
smfi_opensocket() stuff... that's strange. You might get that if the
socket is already open, or if you're trying to use both TCP and Unix
sockets simultanerously.

That section of my looks like this:

smtpd_milters = inet:localhost:8891
non_smtpd_milters = $smtpd_milters
#milter_protocol = 2
milter_default_action = accept

(I comment out the milter_protocol because I'm using a modern version
of Postfix)

Can you share your opendkim.conf file?


***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 Fri Oct 26 2012 - 16:57:39 PST

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