dkim-milter configuration

Platform:

  • openSuse 11
  • postfix
  • dkim-filter

I need to add a dkim-filter option called InternalHosts

In the general documentation I am told that this goes into a file called dkim-filter.conf

However, I cannot find such a file in my installation. And I do not see InternalHosts as an option in Yast at /etc/sysconfig/Network/Mail/dkim-milter.

dkim-filter is started with /usr/bin/rcdkim.

In that rcdkim script, I see it sets an env variable

DKIM_CONFIG=/etc/sysconfig/dkim-milter

This file has the options that appear in the sysconfig editor.

Should I add the InternalHosts option to this file?

Or, should I create a dkim-filter.conf file and edit rcdkim to use the -C option to point to it?

I solved this by specifying a dkim-filter.conf file in the rcdkim start up script using the -x switch for dkim-filter.

I am still not certain though how this effects the sysconfig editor in yast if I add a new variable.