X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/f76b2b698d708dbef33a5135762b51a9c9d1d031..5e2e9470de3933fd6560eba8ee7a4fff9568ff7c:/roles/postfix/templates/opendkim.conf diff --git a/roles/postfix/templates/opendkim.conf b/roles/postfix/templates/opendkim.conf new file mode 100644 index 0000000..06203ea --- /dev/null +++ b/roles/postfix/templates/opendkim.conf @@ -0,0 +1,30 @@ +# This is a basic configuration that can easily be adapted to suit a standard +# installation. For more advanced options, see opendkim.conf(5) and/or +# /usr/share/doc/opendkim/examples/opendkim.conf.sample. + +# Log to syslog +Syslog yes + +# Access control +UMask 007 +UserID opendkim + +# domains and keys are in table files +KeyTable /etc/opendkim/KeyTable +SigningTable /etc/opendkim/SigningTable + +# Commonly-used options; the commented-out versions show the defaults. +#Canonicalization simple +#Mode sv +#SubDomains no +#ADSPAction continue + +# use both Sender and From to check for which domain to sign +SenderHeaders Sender,From + +# Always oversign From (sign using actual From and a null From) to prevent +# malicious signatures header fields (From and/or others) between the signer +# and the verifier. From is oversigned by default in the Debian pacakge +# because it is often the identity key used by reputation systems and thus +# somewhat security sensitive. +OversignHeaders From