Typo in setup.dns.html.

This commit is contained in:
Zhang Huangbin 2020-03-27 12:00:32 +08:00
parent 210952bf5c
commit 4a30996ad9
2 changed files with 23 additions and 15 deletions

View File

@ -197,6 +197,15 @@ tag. Note that the same identity can have multiple identifiers.
* Run command in terminal to show your DKIM keys:
!!! attention
* On some Linux/BSD distribution, you should use command `amavisd-new`
instead of `amavisd`.
* If it complains `/etc/amavisd.conf not found`, please
run the command with path to its config file. For example:
`amavisd -c /etc/amavisd/amavisd.conf showkeys`
```bash
# amavisd showkeys
dkim._domainkey.mydomain.com. 3600 TXT (
@ -207,14 +216,6 @@ dkim._domainkey.mydomain.com. 3600 TXT (
"EV711qseo/omquskkwIDAQAB")
```
__Note__: On some Linux/BSD distribution, you should use command `amavisd-new`
instead of `amavisd`. if it complains `/etc/amavisd.conf not found`, you should
tell amavisd the correct path of its config file. For example:
```shell
# amavisd -c /etc/amavisd/amavisd.conf showkeys
```
* Copy output of command above into one line like below, remove all quotes, but
keep `;`. __we just need strings inside the `()` block__, it's the value of
DKIM DNS record.

View File

@ -209,7 +209,20 @@ IDentifier (SDID) and is contained in the DKIM-Signature header fields <code>d=<
tag. Note that the same identity can have multiple identifiers.</p>
<h3 id="how-to-setup-the-dkim-record">How to setup the DKIM record</h3>
<ul>
<li>Run command in terminal to show your DKIM keys:</li>
<li>
<p>Run command in terminal to show your DKIM keys:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<ul>
<li>On some Linux/BSD distribution, you should use command <code>amavisd-new</code>
instead of <code>amavisd</code>.</li>
<li>If it complains <code>/etc/amavisd.conf not found</code>, please
run the command with path to its config file. For example:</li>
</ul>
<pre><code>`amavisd -c /etc/amavisd/amavisd.conf showkeys`
</code></pre>
</div>
</li>
</ul>
<pre><code class="bash"># amavisd showkeys
dkim._domainkey.mydomain.com. 3600 TXT (
@ -220,12 +233,6 @@ dkim._domainkey.mydomain.com. 3600 TXT (
&quot;EV711qseo/omquskkwIDAQAB&quot;)
</code></pre>
<p><strong>Note</strong>: On some Linux/BSD distribution, you should use command <code>amavisd-new</code>
instead of <code>amavisd</code>. if it complains <code>/etc/amavisd.conf not found</code>, you should
tell amavisd the correct path of its config file. For example:</p>
<pre><code class="shell"># amavisd -c /etc/amavisd/amavisd.conf showkeys
</code></pre>
<ul>
<li>Copy output of command above into one line like below, remove all quotes, but
keep <code>;</code>. <strong>we just need strings inside the <code>()</code> block</strong>, it's the value of