Re: OpenDKIM not signing outgoing emails

From: Jeremy Weibert <jeremyweibert_at_yahoo.com>
Date: Wed, 14 Sep 2011 19:56:15 -0700 (PDT)

Hi Murray,

So I downloaded, compiled and installed the latest version from source.  Getting the same results. 

If I take out the InternalHosts setting, it definitely responds:

Sep 14 22:01:06 mail2 lt-opendkim[28802]: OpenDKIM Filter v2.4.2 starting (args: -x /etc/opendkim.conf)
Sep 14 22:01:39 mail2 postfix/smtpd[28810]: connect from unknown[207.90.4.164]
Sep 14 22:01:39 mail2 postfix/smtpd[28810]: B9064540136: client=unknown[207.90.4.164]
Sep 14 22:01:39 mail2 postfix/cleanup[28813]: B9064540136: message-id=<4E715C80.7010204_at_flbmail.info>
Sep 14 22:01:39 mail2 lt-opendkim[28802]: B9064540136: [207.90.4.164] [207.90.4.164] not internal
Sep 14 22:01:39 mail2 lt-opendkim[28802]: B9064540136: not authenticated
Sep 14 22:01:39 mail2 lt-opendkim[28802]: B9064540136: external host [207.90.4.164] attempted to send as flbmail.info
Sep 14 22:01:39 mail2 lt-opendkim[28802]: B9064540136: no signature data
Sep 14 22:01:40 mail2 postfix/qmgr[28746]: B9064540136: from=<jeremy_at_flbmail.info>, size=731, nrcpt=1 (queue active)
Sep 14 22:01:40 mail2 postfix/smtpd[28810]: disconnect from unknown[207.90.4.164]
Sep 14 22:01:40 mail2 postfix/smtp[28814]: B9064540136: to=<jeremyweibert_at_yahoo.com>, relay=mta7.am0.yahoodns.net[74.6.136.65]:25, delay=1.1, delays=0.28/0.01/0.37/0.49, dsn=2.0.0, status=sent (250 ok dirdel)
Sep 14 22:01:40 mail2 postfix/qmgr[28746]: B9064540136: removed

And with InternalHosts:

Sep 14 22:31:18 mail2 lt-opendkim[28939]: OpenDKIM Filter v2.4.2 starting (args: -x /etc/opendkim.conf)
Sep 14 22:31:29 mail2 postfix/smtpd[28947]: connect from unknown[207.90.4.164]
Sep 14 22:31:30 mail2 postfix/smtpd[28947]: 23B2B540136: client=unknown[207.90.4.164]
Sep 14 22:31:30 mail2 postfix/cleanup[28950]: 23B2B540136: message-id=<4E71637F.8040902_at_flbmail.info>
Sep 14 22:31:30 mail2 postfix/qmgr[28914]: 23B2B540136: from=<jeremy_at_flbmail.info>, size=731, nrcpt=1 (queue active)
Sep 14 22:31:30 mail2 postfix/smtpd[28947]: disconnect from unknown[207.90.4.164]
Sep 14 22:31:30 mail2 postfix/smtp[28951]: 23B2B540136: to=<jeremyweibert_at_yahoo.com>, relay=mta6.am0.yahoodns.net[67.195.168.230]:25, delay=0.71, delays=0.11/0.01/0.21/0.39, dsn=2.0.0, status=sent (250 ok dirdel)
Sep 14 22:31:30 mail2 postfix/qmgr[28914]: 23B2B540136: removed

The InternalHosts file contains:
127.0.0.1
207.90.4.164

----- Original Message -----
From: Murray S. Kucherawy <msk_at_blackops.org>
To: Jeremy Weibert <jeremyweibert_at_yahoo.com>
Cc: "opendkim-users_at_lists.opendkim.org" <opendkim-users_at_lists.opendkim.org>
Sent: Wednesday, September 14, 2011 7:11 PM
Subject: Re: OpenDKIM not signing outgoing emails

On Wed, 14 Sep 2011, Jeremy Weibert wrote:
> I set LogWhy to True, but gives the same output. 

If you've restarted the daemon with LogWhy enabled, you should see it telling you why it's deciding not to sign something.  You're not getting those, so it looks a lot like it's not in signing mode at all, although you've obviously set "Mode" to "sv".

I guess at this point I'm wondering if the config file it's reading is the same as the one you pasted me, and whether or not it was restarted after LogWhy was added.

> 2.0.2 was what Ubuntu gave me.  I guess I should just download compile and
> install the latest?

If there's a bug in 2.0.2, we won't be going back to fix it at this point. :-)  I looked through the RELEASE_NOTES for all versions since then but I didn't see anything that would explain the problem you're seeing.

So yes, I'd suggest trying that, and we can debug more easily if you still have problems.

-MSK
Received on Thu Sep 15 2011 - 02:56:28 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thu Sep 15 2011 - 13:50:03 PST