v3.1 configuration example
OpenDKIM socket
Review and adapt this example to your topology, product version and security requirements.
Syslog yes
UMask 002
Mode sv
Socket local:/run/opendkim/opendkim.sock
KeyTable /etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
ExternalIgnoreList refile:/etc/opendkim/TrustedHostsImportant: replace example addresses, credentials, hostnames and paths. Validate syntax before deployment.