DKIM - InternalHosts

From: John Espiro <john_espiro_at_yahoo.com>
Date: Tue, 25 Jan 2011 23:54:15 +0100

Hi there -

Sorry for the length of this message, however I wanted to fit as much
data in to describe the issue I am having...

I had been using DKIM-milter and switched to OpenDKIM just recently. I
have 2 domains: domainA.com and domainB.com.

My server handles email for both, and I use mail.domainA.com as my
outgoing server for both. (mail.domainA.com is a pointer for domainA.com).

From Thunderbird, via my home connection (sending with the outgoing smtp
as mail.domainA.com) from domainB.com as the "from", I see the following:

    Jan 25 22:39:59 opendkim[21561]: p0PMdtQh021667: no MTA name match
    Jan 25 22:39:59 opendkim[21561]: p0PMdtQh021667: no signing domain
    match for `DomainB.com'
    Jan 25 22:39:59 opendkim[21561]: p0PMdtQh021667: no signing
    subdomain match for `DomainB.com'
    Jan 25 22:39:59 opendkim[21561]: p0PMdtQh021667: no signature data

Sending via my webmail, I see OpenDKIM working perfectly.

From thunderbird, via my home connection (sending with the outgoing smtp
as mail.domainA.com) from domainA.com as the "from", I see OpenDKIM
working perfectly. Although it does say " no MTA name match".

1.) What do I need to configure so that sending with domainB.com works?
2.) What does " no MTA name match" mean and how can I fix it?

cat /etc/opendkim.conf:

    Syslog yes
    UMask 002
    Canonicalization relaxed/simple
    Domain acrocatlabs.com,acrocat.com
    KeyFile /var/db/dkim/mail.key.pem
    MTA MSA
    Selector mail
    Socket inet:8891_at_localhost
    SignatureAlgorithm rsa-sha256
    Syslog Yes
    Userid opendkim
    X-Header Yes
    Mode sv
    InternalHosts /etc/dkim-internal-hosts
    LogWhy True

cat /etc/dkim-internal-hosts:

    ip address of domainA.com
    ip address of domainB.com
    127.0.0.1/8


John
Received on Tue Jan 25 2011 - 22:58:52 PST

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