parent
8088f0166b
commit
76cd29005d
18
README.md
18
README.md
|
@ -4,12 +4,16 @@ to read converted documents in HTML format, get support in our forum:
|
|||
|
||||
# How to translate and contribute
|
||||
|
||||
* Create a new directory and name it to the short language code. e.g. for
|
||||
Germany, please name it `zh_CN`.
|
||||
* Add file `zh_CN/_lang.md` with the full name of the language. e.g.
|
||||
write `English` in `en_US/_lang.md`, `简体中文` in `zh_CN/_lang.md`.
|
||||
* Create a new directory and name it to the short language code. for example:
|
||||
* `de_DE` for `German`
|
||||
* `zh_CN` for `Chinese`
|
||||
* Add file `[xx_XX]/_lang.md` with the full name of the language. for example:
|
||||
* `English` in `en_US/_lang.md`
|
||||
* `Deutsch` in `de_DE/_lang.md`
|
||||
* `简体中文` in `zh_CN/_lang.md`.
|
||||
* Copy the markdown document you want to translate to new language directory,
|
||||
create the same sub-directories as original document. For example, to
|
||||
translate `en_US/howto/reset.user.password.md`, please create
|
||||
`zh_CN/howto/` and copy `reset.user.password.md` to `zh_CN/howto/`.
|
||||
create the same sub-directory as original document. For example, to
|
||||
translate `en_US/howto/reset.user.password.md` to Chinese, please create
|
||||
directory `zh_CN/howto/` and copy `reset.user.password.md` to `zh_CN/howto/`
|
||||
(with same file name).
|
||||
* Translate the file and send a pull request.
|
||||
|
|
|
@ -121,7 +121,7 @@ Parameter Name | Summary | Sample Usage
|
|||
`cn` | display name | `cn=My List Name`
|
||||
`accessPolicy` | Defines who can send email to this mail alias account | `accessPolicy=public`
|
||||
|
||||
> Note: `accessPolicy` for mail alias account is available for only SQL backends.
|
||||
> Note: `accessPolicy` for mail alias account is only available for SQL backends.
|
||||
|
||||
### Throttling
|
||||
|
||||
|
|
|
@ -91,24 +91,24 @@ If it prints all users stored in AD server, then it's working as expected.
|
|||
Disable unused iRedMail special settings:
|
||||
|
||||
```shell
|
||||
# postconf -e virtual_alias_maps=''
|
||||
# postconf -e sender_bcc_maps=''
|
||||
# postconf -e recipient_bcc_maps=''
|
||||
# postconf -e relay_domains=''
|
||||
# postconf -e relay_recipient_maps=''
|
||||
postconf -e virtual_alias_maps=''
|
||||
postconf -e sender_bcc_maps=''
|
||||
postconf -e recipient_bcc_maps=''
|
||||
postconf -e relay_domains=''
|
||||
postconf -e relay_recipient_maps=''
|
||||
```
|
||||
|
||||
Add your mail domain name in `smtpd_sasl_local_domain` and `virtual_mailbox_domains`:
|
||||
|
||||
```shell
|
||||
# postconf -e smtpd_sasl_local_domain='example.com'
|
||||
# postconf -e virtual_mailbox_domains='example.com'
|
||||
postconf -e smtpd_sasl_local_domain='example.com'
|
||||
postconf -e virtual_mailbox_domains='example.com'
|
||||
```
|
||||
|
||||
Change transport maps setting:
|
||||
|
||||
```
|
||||
# postconf -e transport_maps='hash:/etc/postfix/transport'
|
||||
postconf -e transport_maps='hash:/etc/postfix/transport'
|
||||
```
|
||||
|
||||
Enable AD query. __Note__: We will create these 3 files later.
|
||||
|
@ -116,19 +116,19 @@ Enable AD query. __Note__: We will create these 3 files later.
|
|||
* Verify SMTP senders
|
||||
|
||||
```shell
|
||||
# postconf -e smtpd_sender_login_maps='proxy:ldap:/etc/postfix/ad_sender_login_maps.cf'
|
||||
postconf -e smtpd_sender_login_maps='proxy:ldap:/etc/postfix/ad_sender_login_maps.cf'
|
||||
```
|
||||
|
||||
* Verify local mail users
|
||||
|
||||
```shell
|
||||
# postconf -e virtual_mailbox_maps='proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf'
|
||||
postconf -e virtual_mailbox_maps='proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf'
|
||||
```
|
||||
|
||||
* Verify local mail lists/groups.
|
||||
|
||||
```
|
||||
# postconf -e virtual_alias_maps='proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf'
|
||||
postconf -e virtual_alias_maps='proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf'
|
||||
```
|
||||
|
||||
* Create/edit file: `/etc/postfix/transport`.
|
||||
|
|
|
@ -15,7 +15,7 @@ below.
|
|||
* Backup config files first:
|
||||
|
||||
```
|
||||
mkdir /root/sogo-backup/{sogo,sysconfig}
|
||||
mkdir -p /root/sogo-backup/{sogo,sysconfig}
|
||||
cp /etc/sogo/* /root/sogo-backup/sogo/
|
||||
cp /etc/sysconfig/sogo /root/sogo-backup/sysconfig/
|
||||
```
|
||||
|
@ -51,7 +51,7 @@ service sogod restart
|
|||
* Backup config files first:
|
||||
|
||||
```
|
||||
mkdir /root/sogo-backup/{sogo,default}
|
||||
mkdir -p /root/sogo-backup/{sogo,default}
|
||||
cp /etc/sogo/* /root/sogo-backup/sogo/
|
||||
cp /etc/default/sogo /root/sogo-backup/default/
|
||||
```
|
||||
|
|
|
@ -120,39 +120,39 @@ Enter password: password_of_vmail
|
|||
<p>If it prints all users stored in AD server, then it's working as expected.</p>
|
||||
<h3 id="enable-ldap-query-with-ad-in-postfix">Enable LDAP query with AD in Postfix</h3>
|
||||
<p>Disable unused iRedMail special settings:</p>
|
||||
<pre><code class="shell"># postconf -e virtual_alias_maps=''
|
||||
# postconf -e sender_bcc_maps=''
|
||||
# postconf -e recipient_bcc_maps=''
|
||||
# postconf -e relay_domains=''
|
||||
# postconf -e relay_recipient_maps=''
|
||||
<pre><code class="shell">postconf -e virtual_alias_maps=''
|
||||
postconf -e sender_bcc_maps=''
|
||||
postconf -e recipient_bcc_maps=''
|
||||
postconf -e relay_domains=''
|
||||
postconf -e relay_recipient_maps=''
|
||||
</code></pre>
|
||||
|
||||
<p>Add your mail domain name in <code>smtpd_sasl_local_domain</code> and <code>virtual_mailbox_domains</code>:</p>
|
||||
<pre><code class="shell"># postconf -e smtpd_sasl_local_domain='example.com'
|
||||
# postconf -e virtual_mailbox_domains='example.com'
|
||||
<pre><code class="shell">postconf -e smtpd_sasl_local_domain='example.com'
|
||||
postconf -e virtual_mailbox_domains='example.com'
|
||||
</code></pre>
|
||||
|
||||
<p>Change transport maps setting:</p>
|
||||
<pre><code># postconf -e transport_maps='hash:/etc/postfix/transport'
|
||||
<pre><code>postconf -e transport_maps='hash:/etc/postfix/transport'
|
||||
</code></pre>
|
||||
|
||||
<p>Enable AD query. <strong>Note</strong>: We will create these 3 files later.</p>
|
||||
<ul>
|
||||
<li>Verify SMTP senders</li>
|
||||
</ul>
|
||||
<pre><code class="shell"># postconf -e smtpd_sender_login_maps='proxy:ldap:/etc/postfix/ad_sender_login_maps.cf'
|
||||
<pre><code class="shell">postconf -e smtpd_sender_login_maps='proxy:ldap:/etc/postfix/ad_sender_login_maps.cf'
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Verify local mail users</li>
|
||||
</ul>
|
||||
<pre><code class="shell"># postconf -e virtual_mailbox_maps='proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf'
|
||||
<pre><code class="shell">postconf -e virtual_mailbox_maps='proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf'
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Verify local mail lists/groups.</li>
|
||||
</ul>
|
||||
<pre><code># postconf -e virtual_alias_maps='proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf'
|
||||
<pre><code>postconf -e virtual_alias_maps='proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf'
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -34,7 +34,7 @@ below.</p>
|
|||
<ul>
|
||||
<li>Backup config files first:</li>
|
||||
</ul>
|
||||
<pre><code>mkdir /root/sogo-backup/{sogo,sysconfig}
|
||||
<pre><code>mkdir -p /root/sogo-backup/{sogo,sysconfig}
|
||||
cp /etc/sogo/* /root/sogo-backup/sogo/
|
||||
cp /etc/sysconfig/sogo /root/sogo-backup/sysconfig/
|
||||
</code></pre>
|
||||
|
@ -69,7 +69,7 @@ cp /root/sogo-backup/sysconfig/sogo /etc/sysconfig/
|
|||
<ul>
|
||||
<li>Backup config files first:</li>
|
||||
</ul>
|
||||
<pre><code>mkdir /root/sogo-backup/{sogo,default}
|
||||
<pre><code>mkdir -p /root/sogo-backup/{sogo,default}
|
||||
cp /etc/sogo/* /root/sogo-backup/sogo/
|
||||
cp /etc/default/sogo /root/sogo-backup/default/
|
||||
</code></pre>
|
||||
|
|
Loading…
Reference in New Issue