Typo in sign.dkim.signature.for.new.domain.html.

This commit is contained in:
Zhang Huangbin 2014-10-12 11:46:28 +08:00
parent 089e833e76
commit dd2c3307a5
2 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ you added during iRedMail installation. If you added new mail domain, you
should update Amavisd config file to sign DKIM signature for it.
Let's say your first mail domain added during iRedMail installation is
`mydomain.com`, and new mail domain is `newdomain.com`, please follow below
`mydomain.com`, and new mail domain is `new_domain.com`, please follow below
steps to enable DKIM signing for outgoing emails of this domain.
## Use existing DKIM key for new mail domain
@ -38,7 +38,7 @@ line like below:
@dkim_signature_options_bysender_maps = ( {
...
"mydomain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"newdomain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"new_domain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
...
});
```
@ -54,7 +54,7 @@ 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/newdomain.com.pem
# amavisd-new genrsa /var/lib/dkim/new_domain.com.pem
```
* Find below setting in Amavisd config file `amavisd.conf`:
@ -66,7 +66,7 @@ dkim_key('mydomain.com', "dkim", "/var/lib/dkim/mydomain.com.pem");
Add one line after above line like below:
```
dkim_key('newdomain.com', "dkim", "/var/lib/dkim/newdomain.com.pem");
dkim_key('new_domain.com', "dkim", "/var/lib/dkim/new_domain.com.pem");
```
* Find below setting in Amavisd config file `amavisd.conf`:
@ -85,7 +85,7 @@ Add one line after `"mydomain.com"` line like below:
@dkim_signature_options_bysender_maps = ( {
...
"mydomain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"newdomain.com" => { d => "newdomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"new_domain.com" => { d => "new_domain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
...
});
```

View File

@ -30,7 +30,7 @@
you added during iRedMail installation. If you added new mail domain, you
should update Amavisd config file to sign DKIM signature for it.</p>
<p>Let's say your first mail domain added during iRedMail installation is
<code>mydomain.com</code>, and new mail domain is <code>newdomain.com</code>, please follow below
<code>mydomain.com</code>, and new mail domain is <code>new_domain.com</code>, please follow below
steps to enable DKIM signing for outgoing emails of this domain.</p>
<h2 id="use-existing-dkim-key-for-new-mail-domain">Use existing DKIM key for new mail domain</h2>
<p>if you already have a working DKIM and valid DKIM DNS record, it's ok to
@ -53,7 +53,7 @@ line like below:</p>
<pre><code>@dkim_signature_options_bysender_maps = ( {
...
&quot;mydomain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
&quot;newdomain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
&quot;new_domain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
...
});
</code></pre>
@ -68,7 +68,7 @@ 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/newdomain.com.pem
<pre><code class="shell"># amavisd-new genrsa /var/lib/dkim/new_domain.com.pem
</code></pre>
<ul>
@ -78,7 +78,7 @@ tutorial to <a href="setup_dns.html#dkim-record-for-your-mail-domain-name">add D
</code></pre>
<p>Add one line after above line like below:</p>
<pre><code>dkim_key('newdomain.com', &quot;dkim&quot;, &quot;/var/lib/dkim/newdomain.com.pem&quot;);
<pre><code>dkim_key('new_domain.com', &quot;dkim&quot;, &quot;/var/lib/dkim/new_domain.com.pem&quot;);
</code></pre>
<ul>
@ -95,7 +95,7 @@ tutorial to <a href="setup_dns.html#dkim-record-for-your-mail-domain-name">add D
<pre><code>@dkim_signature_options_bysender_maps = ( {
...
&quot;mydomain.com&quot; =&gt; { d =&gt; &quot;mydomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
&quot;newdomain.com&quot; =&gt; { d =&gt; &quot;newdomain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
&quot;new_domain.com&quot; =&gt; { d =&gt; &quot;new_domain.com&quot;, a =&gt; 'rsa-sha256', ttl =&gt; 10*24*3600 },
...
});
</code></pre>