Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
opendkim [2018/10/30 01:13] steve |
opendkim [2018/10/30 01:18] steve [Multiple Domains] |
||
---|---|---|---|
Line 43: | Line 43: | ||
<code> | <code> | ||
- | key-name domain-name:domain-selector:/location/to/keyfile | + | key-name domain-name:domain-selector:/location/to/domain-keyfile |
</code> | </code> | ||
Line 49: | Line 49: | ||
<code> | <code> | ||
- | rsa-beandog beandog.org:nx:/etc/opendkim/beandog.org.private | + | rsa-beandog beandog.org:nx:/etc/opendkim/beandog.org.private |
</code> | </code> | ||
Line 62: | Line 62: | ||
Next, create a signing table, that maps what domains to sign what key with. The contents are the email address or domain name (etc.) and what key you'd like to sign with. | Next, create a signing table, that maps what domains to sign what key with. The contents are the email address or domain name (etc.) and what key you'd like to sign with. | ||
- | An example here would sign every email from beandog.org with the ''rsa-key'' entry from the keytable above: | + | An example here would sign every email from beandog.org with the ''rsa-beandog'' entry from the keytable above: |
<code> | <code> | ||
Line 68: | Line 68: | ||
</code> | </code> | ||
+ | Since the entry has regular expressions in it, we'll add ''refile'' (regular expression file) as a prefix to ''SingingTable'' and the file location of the signing contents. In ''opendkim.conf'': | ||
+ | |||
+ | <code> | ||
+ | SigningTable refile:/etc/opendkim/signingtable | ||
+ | </code> | ||
+ | |||
+ | Restart opendkim, and send some emails. With logging enabled, in the temporary directory, you will see both the header added to the email, plus the contents of the message. | ||
==== Logging ==== | ==== Logging ==== | ||