Can't get opendkim working

From: Jim Thornton <>
Date: Sat, 25 Oct 2014 00:21:30 -0400 (EDT)

I'm running:

CentOS 6.5
Postfix 2.6.6
opendkim: OpenDKIM Filter v2.9.0
Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013
SMFI_VERSION 0x1000001
libmilter version 1.0.1
Supported signing algorithms:
Supported canonicalization algorithms:
Active code options:
libopendkim 2.9.0:

I've installed Zarafa and everythign is running perfectly. I then tried to install OpenDKIM and have been having trouble. I installed this on another server I have running Zimbra and there were no problems at all. This server is not cooperating though. My /var/log/maillog file is not even showing ANY indications of openDKIM. Nothing is logging at all regarding opendkim.

My DNS records are properly added. (tested via DIG)
I've tried two different config files but this is the current one:
AutoRestart Yes
AutoRestartRate 10/1h
LogWhy Yes
Syslog Yes
SyslogSuccess Yes
Mode s
Canonicalization relaxed/simple
ExternalIgnoreList refile:/etc/opendkim/TrustedHosts
InternalHosts refile:/etc/opendkim/TrustedHosts
KeyTable refile:/etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
SignatureAlgorithm rsa-sha256
Socket inet:8891_at_localhost
PidFile /var/run/opendkim/
UMask 022
UserID opendkim:opendkim
TemporaryDirectory /var/tmp

Here is /etc/opendkim/SigningTable:
# This table controls how to apply one or more signatures to outgoing messages based
# on the address found in the From: header field. In simple terms, this tells
# OpenDKIM "how" to apply your keys.

# To use this file, uncomment the SigningTable option in /etc/opendkim.conf,
# then uncomment one of the usage examples below and replace with your
# domain name, then restart OpenDKIM.

# Enables signing for any address on the listed domain(s), but will work only if
# "refile:/etc/opendkim/SigningTable" is included in /etc/opendkim.conf.
# Create additional lines for additional domains.


# If "file:" (instead of "refile:") is specified in /etc/opendkim.conf, then
# wildcards will not work. Instead, full user_at_host is checked first, then simply host,
# then user_at_.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" for more details.

Here is /etc/opendkim/KeyTable:

# 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 lines.

Here is /etc/opendkim/TrustedHosts:
# To use this file, uncomment the #ExternalIgnoreList and/or the #InternalHosts
# 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 always be the first entry in this file.

Could someone please help me get this working?

Received on Sat Oct 25 2014 - 04:21:45 PST

This archive was generated by hypermail 2.3.0 : Sat Oct 25 2014 - 04:27:00 PST