BaseDirectory /run/opendkim Mode sv SubDomains no LogResults yes LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/simple #Domain example.com #Selector default #KeyFile /var/db/dkim/example.com.private KeyTable refile:/etc/opendkim/signing/KeyTable SigningTable refile:/etc/opendkim/signing/SigningTable ExternalIgnoreList refile:/etc/opendkim/signing/TrustedHosts InternalHosts refile:/etc/opendkim/signing/TrustedHosts Background yes Socket inet:8891@localhost #Socket local:opendkim.sock ReportAddress postmaster@example.com SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # #InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList X.X.X.X PidFile /run/opendkim.pid