Emails will not be signed!

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

Config file as follows

## BASIC OPENDKIM CONFIGURATION FILE
## 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.

## CONFIGURATION OPTIONS

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

# 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
generated
# for each message, so set this to No (or comment it out) if it gets too
noisy.
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

## SIGNING OPTIONS

# 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.
#Domain example.com

# 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
KeyFile
# 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
tells
# 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 example.com with your domain
# name, then restart OpenDKIM. Additional keys may be added on separate
lines.

#default._domainkey.example.com
example.com:default:/etc/opendkim/keys/default.private
default._domainkey.mydomain.com
mydomain.com:default:/etc/opendkim/keys/swiigle.com/default

SigningTable

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

#*_at_example.com default._domainkey.example.com

# 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 "foo.example.com" would first check
# "user_at_foo.example.com", then "user@.example.com", then "user@.com"), then
# .domain, then user_at_*, and finally *. See the opendkim.conf(5) man page
# under "SigningTable".

#example.com default._domainkey.example.com
*_at_mydomain.com default._domainkey.mydomain

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 (127.0.0.1) should be the first entry in this file.
127.0.0.1
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:
message-id=<5df0302115198ab862887b06d2d5e102_at_"CUT"
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/opendkim.pid)

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