Update upgrade.ubuntu.18.04-20.04.html.
Fix incorrect python script.
This commit is contained in:
parent
34b2172e8c
commit
e41e00b9c5
|
@ -147,7 +147,7 @@ We need to add new ldap attribute/value pairs for existing mail users.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /root/
|
cd /root/
|
||||||
wget https://github.com/iredmail/iRedMail/raw/1.0/update/ldap/update-ldap-dovecot-2.3.py
|
https://raw.githubusercontent.com/iredmail/iRedMail/master/update/ldap/update-ldap-dovecot-2.3.py
|
||||||
```
|
```
|
||||||
|
|
||||||
* Open downloaded file `update-ldap-dovecot-2.3.py`, set LDAP server
|
* Open downloaded file `update-ldap-dovecot-2.3.py`, set LDAP server
|
||||||
|
@ -167,9 +167,9 @@ You can find required LDAP credential in iRedAdmin config file or
|
||||||
`cn=Manager,dc=xx,dc=xx` or `cn=vmailadmin,dc=xx,dc=xx` as bind dn is ok, both
|
`cn=Manager,dc=xx,dc=xx` or `cn=vmailadmin,dc=xx,dc=xx` as bind dn is ok, both
|
||||||
of them have read-write privilege to update mail accounts.
|
of them have read-write privilege to update mail accounts.
|
||||||
|
|
||||||
* Execute this script, it will add required data:
|
* Execute this script with Python-3, it will add required data:
|
||||||
|
|
||||||
```
|
```
|
||||||
# python update-ldap-dovecot-2.3.py
|
python3 update-ldap-dovecot-2.3.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -66,3 +66,11 @@ access.log = /var/log/php-fpm/access.log
|
||||||
slowlog = /var/log/php-fpm/slow.log
|
slowlog = /var/log/php-fpm/slow.log
|
||||||
request_slowlog_timeout = 10s
|
request_slowlog_timeout = 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* `/etc/nginx/conf-available/php-fpm.conf`:
|
||||||
|
|
||||||
|
```
|
||||||
|
upstream php_workers {
|
||||||
|
server 127.0.0.1:9999;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
|
@ -166,7 +166,7 @@ CREATE INDEX idx_mailbox_enablesievetls ON mailbox (enablesievetls);
|
||||||
<li>Download script used to update existing mail users:</li>
|
<li>Download script used to update existing mail users:</li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre><code>cd /root/
|
<pre><code>cd /root/
|
||||||
wget https://github.com/iredmail/iRedMail/raw/1.0/update/ldap/update-ldap-dovecot-2.3.py
|
https://raw.githubusercontent.com/iredmail/iRedMail/master/update/ldap/update-ldap-dovecot-2.3.py
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -186,9 +186,9 @@ bind_pw = 'password'
|
||||||
<code>cn=Manager,dc=xx,dc=xx</code> or <code>cn=vmailadmin,dc=xx,dc=xx</code> as bind dn is ok, both
|
<code>cn=Manager,dc=xx,dc=xx</code> or <code>cn=vmailadmin,dc=xx,dc=xx</code> as bind dn is ok, both
|
||||||
of them have read-write privilege to update mail accounts.</p>
|
of them have read-write privilege to update mail accounts.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Execute this script, it will add required data:</li>
|
<li>Execute this script with Python-3, it will add required data:</li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre><code># python update-ldap-dovecot-2.3.py
|
<pre><code>python3 update-ldap-dovecot-2.3.py
|
||||||
</code></pre><div class="footer">
|
</code></pre><div class="footer">
|
||||||
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
||||||
</div></body></html>
|
</div></body></html>
|
|
@ -84,6 +84,14 @@ request_terminate_timeout = 60s
|
||||||
access.log = /var/log/php-fpm/access.log
|
access.log = /var/log/php-fpm/access.log
|
||||||
slowlog = /var/log/php-fpm/slow.log
|
slowlog = /var/log/php-fpm/slow.log
|
||||||
request_slowlog_timeout = 10s
|
request_slowlog_timeout = 10s
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>/etc/nginx/conf-available/php-fpm.conf</code>:</li>
|
||||||
|
</ul>
|
||||||
|
<pre><code>upstream php_workers {
|
||||||
|
server 127.0.0.1:9999;
|
||||||
|
}
|
||||||
</code></pre><div class="footer">
|
</code></pre><div class="footer">
|
||||||
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
||||||
</div></body></html>
|
</div></body></html>
|
Loading…
Reference in New Issue