Line 819: |
Line 819: |
| then create a fragment: | | then create a fragment: |
| mkdir --parent /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local | | mkdir --parent /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local |
− | echo "dkim_sign">/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/69dkim_sign | + | echo "dkim_sign keys dkim">/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/69dkim_sign |
| signal-event email-update | | signal-event email-update |
| | | |
Line 825: |
Line 825: |
| | | |
| default._domainkey.domain.ext IN TXT "k=rsa; p=<key text>; t=y" | | default._domainkey.domain.ext IN TXT "k=rsa; p=<key text>; t=y" |
| + | |
| + | |
| + | if you want to customize the signing you can add parameters to the line in /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/69dkim_sign. Parameters and value are separated by a space only. |
| + | |
| + | # keys : "dk" or "domainkeys" for domainkey signature only, "dkim" for DKIM signature only, default "both" |
| + | # dk_method : for domainkey method , default "nofws" |
| + | # selector : the selector you want, default "default" |
| + | # algorithm : algorithm for DKIM signing, default "rsa-sha1" |
| + | # dkim_method : for DKIM, default "relaxed" |
| + | |
| + | |
| + | NB: key files can not be define in parameters, they need to be in /var/service/qpsmtpd/config/dkimkeys/{SENDER_DOMAIN}.private |
| | | |
| ===Temporary_error_on_maildir_delivery=== | | ===Temporary_error_on_maildir_delivery=== |