RE: OpenDKIM not signing outgoing emails

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Wed, 14 Sep 2011 14:04:22 -0700

Also, include the command line arguments you're using to start the filter.

Finally, version 2.0.2 is quite old. Version 2.4.2 is current, with 2.5.0 under development.

From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Murray S. Kucherawy
Sent: Wednesday, September 14, 2011 2:00 PM
To: Jeremy Weibert; opendkim-users_at_lists.opendkim.org
Subject: RE: OpenDKIM not signing outgoing emails

Set "LogWhy" to "True", and try again. You should get more data in your logs that explains why it's not signing.

From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Jeremy Weibert
Sent: Wednesday, September 14, 2011 1:53 PM
To: opendkim-users_at_lists.opendkim.org
Subject: OpenDKIM not signing outgoing emails

I'm very new to this and I have probably done something stupid, but I can't seem to get my outgoing emails signed.

I'm using:
Ubuntu 10.04.2 LTS
Postfix 2.7
OpenDKIM 2.0.2

/etc/postfix/main.cf
milter_default_action = accept
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891

/etc/opendkim.conf
Syslog yes
UMask 002
Domain flbmail.info
KeyFile /etc/mail/dkim.key
Selector mail
Canonicalization relaxed/simple
Mode sv
Socket inet:8891_at_localhost
InternalHosts refile:/etc/postfix/trustedhosts

/etc/postfix/trustedhosts
127.0.0.1
207.90.4.164

This is what I get in the log:
Sep 14 16:48:24 mail2 postfix/smtpd[5603]: connect from unknown[207.90.4.164]
Sep 14 16:48:24 mail2 postfix/smtpd[5603]: 51182542CC0: client=unknown[207.90.4.164]
Sep 14 16:48:24 mail2 postfix/cleanup[5608]: 51182542CC0: message-id=<4E711316.80606_at_flbmail.info>
Sep 14 16:48:29 mail2 opendkim[5584]: 51182542CC0 ADSP query: timeout DNS query for `flbmail.info'
Sep 14 16:48:29 mail2 opendkim[5584]: 51182542CC0: no signature data
Sep 14 16:48:29 mail2 postfix/qmgr[5600]: 51182542CC0: from=<jeremy_at_flbmail.info>, size=729, nrcpt=1 (queue active)
Sep 14 16:48:29 mail2 postfix/smtpd[5603]: disconnect from unknown[207.90.4.164]
Sep 14 16:48:30 mail2 postfix/smtp[5610]: 51182542CC0: to=<jeremyweibert_at_yahoo.com>, relay=mta7.am0.yahoodns.net[98.137.54.237]:25, delay=6, delays=5.1/0.01/0.45/0.45, dsn=2.0.0, status=sent (250 ok dirdel)
Sep 14 16:48:30 mail2 postfix/qmgr[5600]: 51182542CC0: removed
And, I tried the following:
Syslog yes
UMask 002
# Domain *
# KeyFile /etc/mail/dkim.key
# Selector mail
Mode sv
Socket inet:8891_at_localhost
SigningTable refile:/etc/postfix/signtable
KeyTable refile:/etc/postfix/keytable
InternalHosts refile:/etc/postfix/trustedhosts
/etc/postfix/signtable
* mail._domainkey.flbmail.info

/etc/postfix/keytable
mail._domainkey.flbmail.info flbmail.info:default:/etc/mail/dkim.key

And this is what I get in the log:
Sep 14 10:30:32 mail2 opendkim[5378]: OpenDKIM Filter v2.0.2 starting (args: -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid)
Sep 14 10:30:46 mail2 postfix/smtpd[5385]: connect from unknown[207.90.4.164]
Sep 14 10:30:46 mail2 postfix/smtpd[5385]: 7F3D9542CC0: client=unknown[207.90.4.164]
Sep 14 10:30:46 mail2 postfix/cleanup[5388]: 7F3D9542CC0: message-id=<4E70BA93.6000407_at_flbmail.info>
Sep 14 10:30:46 mail2 postfix/qmgr[4847]: 7F3D9542CC0: from=<jeremy_at_flbmail.info>, size=731, nrcpt=1 (queue active)
Sep 14 10:30:46 mail2 postfix/smtpd[5385]: disconnect from unknown[207.90.4.164]
Sep 14 10:30:51 mail2 postfix/smtp[5389]: 7F3D9542CC0: to=<jeremyweibert_at_yahoo.com>, relay=mta6.am0.yahoodns.net[66.94.237.64]:25, delay=4.6, delays=0.11/0.01/2.3/2.3, dsn=2.0.0, status=sent (250 ok dirdel)
Sep 14 10:30:51 mail2 postfix/qmgr[4847]: 7F3D9542CC0: removed
Received on Wed Sep 14 2011 - 21:04:33 PST

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