# General
Syslog                  yes
SyslogSuccess	        yes
UMask                   007
LogWhy	                yes
SoftwareHeader	        yes
Socket                  inet:8891@localhost
PidFile                 /var/run/opendkim/opendkim.pid
OversignHeaders         From
TrustAnchorFile         /usr/share/dns/root.key
UserID                  opendkim:opendkim

# Signing options
Canonicalization        relaxed/simple
Mode                    sv
Domain	                refile:/etc/mail/domains
SubDomains              no
AutoRestart             yes
Background              yes
DNSTimeout              5
SignatureAlgorithm      rsa-sha256

# Key file
Selector	            default
MinimumKeyBits	        1024
KeyFile	                /var/opendkim/keys/default.private

# Hosts
ExternalIgnoreList      refile:/etc/mail/opendkim/TrustedHosts
InternalHosts           refile:/etc/mail/opendkim/TrustedHosts