Hi,

I am trying to get OpenDKIM 2.11.0 running with Postfix 3.1.4.

When a SASL authenticated client sends an email via Postfix, the
following is logged :

Jan 25 15:15:59 bob opendkim[1016]: DDD1F400A1B2: [192.0.2.43]
[192.0.2.43] not internal
Jan 25 15:15:59 bob opendkim[1016]: DDD1F400A1B2: not authenticated
Jan 25 15:15:59 bob opendkim[1016]: DDD1F400A1B2: no signature data


Looking at the Postfix Milter doc page
(http://www.postfix.org/MILTER_README.html#workarounds) the work
around talks about the {daemon_addr} macro:

“Some Milter applications use the "{if_addr}" macro to recognize local
mail; this macro does not exist in Postfix. Workaround: use the
"{daemon_addr}" (Postfix &ge 3.2) or "{client_addr}" macro instead.”


However it is not particularly clear where I am supposed to use that
macro ?  If I run “postconf -d” I cannot see {client_addr} being used
anywhere and so I don’t know what (if anything) I am supposed to
substitute.

P.S. Yes I know OpenDKIM has a “TrustedHosts” config file. But that
would not be much good for me as my SMTP client machines can connect
from anywhere.  And putting 0.0.0.0 in OpenDKIM trusted hosts wouldn’t
work either as I have a second postfix instance that handles inbound
mail, and so “trusting” everything would be inappropriate.

Reply via email to