
Postfix is configured on my server to use SASL authentication for messages submitted via port 587. OpenDKIM has been set up for both signing and verification. In /etc/opendkim.conf, InternalHosts refers to a file that lists various addresses, including the IPv6 range of my home network, as well as my domain name (".jasonjgw.net"). Consequently, messages submitted by hosts on my home network are signed by OpenDKIM. However, if, for example, I take a laptop to a different network and then attempt to send mail from it via port 587 on the server, it isn't signed, even though it has been authenticated with SASL in the Postfix session. Obviously, it doesn't match any of the addresses given in the InternalHosts file. Is there a way to configure OpenDKIM to sign messages from hosts that have SASL credentials, regardless of which network they're on?