Allowing mail from multiple domains

From: Phil Stracchino <>
Date: Sat, 19 Apr 2014 15:17:06 -0400

I've recently installed OpenDKIM with Postfix on Gentoo Linux using
basically the out-of-the-box recommended configuration. However, my
configuration is a little more complex than some.

I have two domains, and However,
neither sends nor accepts mail; all mail is sent and received as Postfix on my mailserver is configured to
masquerade-all as For historical and other reasons, my
internal hosts have hostnames in both domains; some have
as their primary hostname, some have As an example, my
workstation identifies and reverse-resolves as It
is configured to originate mail as, and my
mailserver,, accepts mail delivery and relay
from it with no problem.

However, OpenDKIM complains that "external host" is
attempting to send mail as, and refuses to sign the mail.

How can I configure OpenDKIM such that it will sign messages originated
by internal hosts which reverse-resolve as hosts? Or to put
that another way, what I want is a way to tell OpenDKIM that internal
hosts are *allowed* to send mail as even if their
internal IP reverse-resolves as

What is the best way to accomplish this?

  Phil Stracchino
  Babylon Communications
  Landline: 603.293.8485
Received on Sat Apr 19 2014 - 19:17:16 PST

This archive was generated by hypermail 2.3.0 : Sat Apr 19 2014 - 19:27:02 PST