Mention the command name on different linux/bsd distros.

This commit is contained in:
Zhang Huangbin 2017-01-23 17:04:45 +08:00
parent a483540fdb
commit f5888bf6e2
2 changed files with 11 additions and 2 deletions

View File

@ -59,6 +59,9 @@ tutorial to [add DKIM DNS record](setup.dns.html#dkim-record-for-your-mail-domai
* Generate new DKIM key (key length `1024`) for new domain, and set correct
file owner and permission
* on RHEL/CentOS, FreeBSD, OpenBSD, the command is `amavisd`
* on Debian/Ubuntu, the command is `amavisd-new`
```shell
amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024
chown amavisd:amavisd /var/lib/dkim/new_domain.com.pem

View File

@ -78,8 +78,14 @@ line like below:</p>
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>
<ul>
<li>Generate new DKIM key (key length <code>1024</code>) for new domain, and set correct
file owner and permission</li>
<li>
<p>Generate new DKIM key (key length <code>1024</code>) for new domain, and set correct
file owner and permission</p>
<ul>
<li>on RHEL/CentOS, FreeBSD, OpenBSD, the command is <code>amavisd</code></li>
<li>on Debian/Ubuntu, the command is <code>amavisd-new</code></li>
</ul>
</li>
</ul>
<pre><code class="shell">amavisd-new genrsa /var/lib/dkim/new_domain.com.pem 1024
chown amavisd:amavisd /var/lib/dkim/new_domain.com.pem