Typo in setup.dns.html.
This commit is contained in:
parent
210952bf5c
commit
4a30996ad9
|
@ -197,6 +197,15 @@ tag. Note that the same identity can have multiple identifiers.
|
||||||
|
|
||||||
* Run command in terminal to show your DKIM keys:
|
* 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
|
```bash
|
||||||
# amavisd showkeys
|
# amavisd showkeys
|
||||||
dkim._domainkey.mydomain.com. 3600 TXT (
|
dkim._domainkey.mydomain.com. 3600 TXT (
|
||||||
|
@ -207,14 +216,6 @@ dkim._domainkey.mydomain.com. 3600 TXT (
|
||||||
"EV711qseo/omquskkwIDAQAB")
|
"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
|
* 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
|
keep `;`. __we just need strings inside the `()` block__, it's the value of
|
||||||
DKIM DNS record.
|
DKIM DNS record.
|
||||||
|
|
|
@ -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>
|
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>
|
<h3 id="how-to-setup-the-dkim-record">How to setup the DKIM record</h3>
|
||||||
<ul>
|
<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>
|
</ul>
|
||||||
<pre><code class="bash"># amavisd showkeys
|
<pre><code class="bash"># amavisd showkeys
|
||||||
dkim._domainkey.mydomain.com. 3600 TXT (
|
dkim._domainkey.mydomain.com. 3600 TXT (
|
||||||
|
@ -220,12 +233,6 @@ dkim._domainkey.mydomain.com. 3600 TXT (
|
||||||
"EV711qseo/omquskkwIDAQAB")
|
"EV711qseo/omquskkwIDAQAB")
|
||||||
</code></pre>
|
</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>
|
<ul>
|
||||||
<li>Copy output of command above into one line like below, remove all quotes, but
|
<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
|
keep <code>;</code>. <strong>we just need strings inside the <code>()</code> block</strong>, it's the value of
|
||||||
|
|
Loading…
Reference in New Issue