Typo in howto/2-sign.dkim.signature.for.new.domain.md.

This commit is contained in:
Zhang Huangbin 2015-07-07 22:45:45 +08:00
parent d9be80bae9
commit d102852c6b
2 changed files with 17 additions and 2 deletions

View File

@ -59,7 +59,16 @@ tutorial to [add DKIM DNS record](setup.dns.html#dkim-record-for-your-mail-domai
* Generate new DKIM key for new domain.
```shell
# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem
# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 2048
```
`2048` is key length.
Note: if you're running CentOS, you may need to specify its config file on
command line. For example:
```
# amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 2048
```
* Find below setting in Amavisd config file `amavisd.conf`:

View File

@ -70,7 +70,13 @@ tutorial to <a href="setup.dns.html#dkim-record-for-your-mail-domain-name">add D
<ul>
<li>Generate new DKIM key for new domain.</li>
</ul>
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 2048
</code></pre>
<p><code>2048</code> is key length.</p>
<p>Note: if you're running CentOS, you may need to specify its config file on
command line. For example:</p>
<pre><code># amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 2048
</code></pre>
<ul>