Always generate DKIM key with key length '1024'.
This commit is contained in:
parent
4b5691b95d
commit
92d23794b3
|
@ -56,21 +56,16 @@ If you or your customer prefer to use their own DKIM key, you can generate
|
||||||
a new DKIM key and ask your customer to add DKIM DNS record. Refer to our
|
a new DKIM key and ask your customer to add DKIM DNS record. Refer to our
|
||||||
tutorial to [add DKIM DNS record](setup.dns.html#dkim-record-for-your-mail-domain-name).
|
tutorial to [add DKIM DNS record](setup.dns.html#dkim-record-for-your-mail-domain-name).
|
||||||
|
|
||||||
* Generate new DKIM key (key length `2048`) for new domain.
|
* Generate new DKIM key (key length `1024`) for new domain.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 2048
|
# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024
|
||||||
```
|
```
|
||||||
|
|
||||||
> * if you're running CentOS, you may need to specify its config file on
|
> * if you're running CentOS, you may need to specify its config file on
|
||||||
> command line. For example:
|
> command line. For example:
|
||||||
>
|
>
|
||||||
> `# amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 2048`
|
> `# amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 1024`
|
||||||
|
|
||||||
> * Some DNS provider doesn't support long value for TXT type DNS record, you
|
|
||||||
> need to create a shorter key with key length `1024`. For example:
|
|
||||||
>
|
|
||||||
> `# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024`
|
|
||||||
|
|
||||||
* Find below setting in Amavisd config file `amavisd.conf`:
|
* Find below setting in Amavisd config file `amavisd.conf`:
|
||||||
|
|
||||||
|
|
|
@ -69,9 +69,9 @@ line like below:</p>
|
||||||
a new DKIM key and ask your customer to add DKIM DNS record. Refer to our
|
a new DKIM key and ask your customer to add DKIM DNS record. Refer to our
|
||||||
tutorial to <a href="setup.dns.html#dkim-record-for-your-mail-domain-name">add DKIM DNS record</a>.</p>
|
tutorial to <a href="setup.dns.html#dkim-record-for-your-mail-domain-name">add DKIM DNS record</a>.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Generate new DKIM key (key length <code>2048</code>) for new domain.</li>
|
<li>Generate new DKIM key (key length <code>1024</code>) for new domain.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 2048
|
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
@ -79,12 +79,7 @@ tutorial to <a href="setup.dns.html#dkim-record-for-your-mail-domain-name">add D
|
||||||
<li>if you're running CentOS, you may need to specify its config file on
|
<li>if you're running CentOS, you may need to specify its config file on
|
||||||
command line. For example:</li>
|
command line. For example:</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><code># amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 2048</code></p>
|
<p><code># amavisd -c /etc/amavisd/amavisd.conf genrsa /var/lib/dkim/new_domain.com.pem 1024</code></p>
|
||||||
<ul>
|
|
||||||
<li>Some DNS provider doesn't support long value for TXT type DNS record, you
|
|
||||||
need to create a shorter key with key length <code>1024</code>. For example:</li>
|
|
||||||
</ul>
|
|
||||||
<p><code># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024</code></p>
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Find below setting in Amavisd config file <code>amavisd.conf</code>:</li>
|
<li>Find below setting in Amavisd config file <code>amavisd.conf</code>:</li>
|
||||||
|
|
Loading…
Reference in New Issue