Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
opendkim [2018/10/30 01:13] steve |
opendkim [2018/10/30 01:16] steve [Multiple Domains] |
||
---|---|---|---|
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 ==== | ||