KeyTable dsn:mysql://$dbuser:$dbsec@$dbhost/$db/table=dkim?keycol=id?datacol=domain_name,selector,private_key_path PidFile /run/opendkim/opendkim.pid Selector default SigningTable dsn:mysql://$dbuser:$dbsec@$dbhost/$db/table=dkim?keycol=domain_name?datacol=id Socket local:/run/opendkim/opendkim.sock Socket inet:8960@127.0.0.1 Syslog Yes UMask 002 UserID opendkim:opendkim