Emails will not be signed!

From: Eric <>
Date: Thu, 13 Oct 2011 20:00:23 -0700

Config file as follows

## See opendkim.conf(5) or
/usr/share/doc/opendkim-2.4.2/opendkim.conf.sample for more

## BEFORE running OpenDKIM you must:

## - make your MTA (Postfix, Sendmail, etc.) aware of OpenDKIM
## - generate keys for your domain (if signing)
## - edit your DNS records to publish your public keys (if signing)

## See /usr/share/doc/opendkim-2.4.2/INSTALL for detailed instructions.


# Specifies the path to the process ID file.
PidFile /var/run/opendkim/

# Selects operating modes. Valid modes are s (signer) and v (verifier).
Default is v.
Mode v

# Log activity to the system log.
Syslog yes

# Log additional entries indicating successful signing or verification
of messages.
SyslogSuccess yes

# If logging is enabled, include detailed logging about why or why not a
message was
# signed or verified. This causes an increase in the amount of log data
# for each message, so set this to No (or comment it out) if it gets too
LogWhy Yes

# Attempt to become the specified user before starting operations.
UserID opendkim:opendkim

# Create a socket through which your MTA can communicate.
Socket inet:8891_at_localhost

# Required to use local socket with MTAs that access the socket as a non-
# privileged user (e.g. Postfix)
Umask 002

# This specifies a text file in which to store DKIM transaction statistics.
#Statistics /var/spool/opendkim/stats.dat


# Selects the canonicalization method(s) to be used when signing messages.
Canonicalization relaxed/simple

# Domain(s) whose mail should be signed by this filter. Mail from other
domains will
# be verified rather than being signed. Uncomment and use your domain name.
# This parameter is not required if a SigningTable is in use.

# Defines the name of the selector to be used when signing messages.
Selector default

# Gives the location of a private key to be used for signing ALL messages.
#KeyFile /etc/opendkim/keys/default.private

# Gives the location of a file mapping key names to signing keys. In
simple terms,
# this tells OpenDKIM where to find your keys. If present, overrides any
# setting in the configuration file.
KeyTable refile:/etc/opendkim/KeyTable

# Defines a table used to select one or more signatures to apply to a
message based
# on the address found in the From: header field. In simple terms, this
# OpenDKIM how to use your keys.
SigningTable refile:/etc/opendkim/SigningTable

# Identifies a set of "external" hosts that may send mail through the
server as one
# of the signing domains without credentials as such.
ExternalIgnoreList refile:/etc/opendkim/TrustedHosts

# Identifies a set internal hosts whose mail should be signed rather
than verified.
InternalHosts refile:/etc/opendkim/TrustedHosts

Key Table

# To use this file, uncomment the #KeyTable option in /etc/opendkim.conf,
# then uncomment the following line and replace with your domain
# name, then restart OpenDKIM. Additional keys may be added on separate


# The following wildcard will work only if
# refile:/etc/opendkim/SigningTable is included
# in /etc/opendkim.conf.


# If refile: is not specified in /etc/opendkim.conf, then full
# user_at_host is checked first, then simply host, then user@.domain (with all
# superdomains checked in sequence, so "" would first check
# "", then "", then ""), then
# .domain, then user_at_*, and finally *. See the opendkim.conf(5) man page
# under "SigningTable".
* default._domainkey.mydomain


# To use this file, uncomment the #ExternalIgnoreList and/or the
# option in /etc/opendkim.conf then restart OpenDKIM. Additional hosts
# may be added on separate lines (IP addresses, hostnames, or CIDR ranges).
# The localhost IP ( should be the first entry in this file.
Server IP here
Domain here
Hostname here

However wen i go to send a mail this happens

Oct 14 06:34:19 power postfix/smtpd[3856]: connect from “CUT”
Oct 14 06:34:19 power postfix/smtpd[3856]: 1EBD77070447: client=”CUT”,
sasl_method=LOGIN, sasl_username=”CUT”
Oct 14 06:34:19 power postfix/cleanup[3862]: 1EBD77070447:
Oct 14 06:34:19 power postfix/qmgr[3300]: 1EBD77070447: from="CUT",
size=596, nrcpt=1 (queue active)
Oct 14 06:34:19 power postfix/smtpd[3856]: disconnect from "CUT"
Oct 14 06:34:19 power dovecot: IMAP("CUT"): Disconnected: Logged out

You can see it's running tho

Oct 14 06:33:35 power opendkim[3688]: OpenDKIM Filter: mi_stop=1
Oct 14 06:33:35 power opendkim[3688]: OpenDKIM Filter v2.4.2 terminating
with status 0, errno = 0
Oct 14 06:33:36 power opendkim[3830]: OpenDKIM Filter v2.4.2 starting
(args: -x /etc/opendkim.conf -P /var/run/opendkim/

LogWhy is set to Yes

Any ideas?
Received on Fri Oct 14 2011 - 03:00:41 PST

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