Update iRedMail upgrade tutorial (0.9.0-0.9.1):
* Fixed: not backup SOGo database.
This commit is contained in:
parent
00ee5bf14a
commit
1c8fd34130
|
@ -1,7 +1,5 @@
|
|||
# Allow user to send email without authentication
|
||||
|
||||
[TOC]
|
||||
|
||||
Create a plain text file: `/etc/postfix/accepted_unauth_senders`:
|
||||
|
||||
```
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
|
||||
// <a href="./index.html">Document Index</a>
|
||||
</div><h1 id="allow-user-to-send-email-without-authentication">Allow user to send email without authentication</h1>
|
||||
<div class="toc">
|
||||
<ul>
|
||||
<li><a href="#allow-user-to-send-email-without-authentication">Allow user to send email without authentication</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>Create a plain text file: <code>/etc/postfix/accepted_unauth_senders</code>:</p>
|
||||
<pre><code>fax-machine-12@mydomain.tld OK
|
||||
</code></pre>
|
||||
|
|
|
@ -16,15 +16,21 @@
|
|||
<li><a href="#upgrade-iredmail-from-090-to-091">Upgrade iRedMail from 0.9.0 to 0.9.1</a><ul>
|
||||
<li><a href="#changelog">ChangeLog</a></li>
|
||||
<li><a href="#general-all-backends-should-apply-these-steps">General (All backends should apply these steps)</a><ul>
|
||||
<li><a href="#fixed-incorrect-path-of-command-sogo-tool-on-openbsd">Fixed: Incorrect path of command 'sogo-tool' on OpenBSD</a></li>
|
||||
<li><a href="#fixed-incorrect-path-of-command-sogo-tool-on-openbsd">Fixed: Incorrect path of command sogo-tool on OpenBSD</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#openldap-backend-special">OpenLDAP backend special</a><ul>
|
||||
<li><a href="#fixed-not-backup-sogo-database">Fixed: not backup SOGo database</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#mysqlmariadb-backend-special">MySQL/MariaDB backend special</a><ul>
|
||||
<li><a href="#fixed-not-apply-service-restriction-in-dovecot-sql-query-file-while-acting-as-sasl-server">Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server</a></li>
|
||||
<li><a href="#fixed-not-backup-sogo-database_1">Fixed: not backup SOGo database</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#postgresql-backend-special">PostgreSQL backend special</a><ul>
|
||||
<li><a href="#fixed-not-apply-service-restriction-in-dovecot-sql-query-file-while-acting-as-sasl-server_1">Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server</a></li>
|
||||
<li><a href="#fixed-not-backup-sogo-database_2">Fixed: not backup SOGo database</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -34,11 +40,12 @@
|
|||
<p>WARNING: This is still a working in progress draft document, do <strong>NOT</strong> apply it.</p>
|
||||
<h2 id="changelog">ChangeLog</h2>
|
||||
<ul>
|
||||
<li>2015-01-13: [All backends] Fixed: Incorrect path of command 'sogo-tool' on OpenBSD.</li>
|
||||
<li>2015-02-02: [All backends] Fixed: Not backup SOGo database. Note: this step is not applicable if you don't use SOGo groupware.</li>
|
||||
<li>2015-01-13: [All backends] Fixed: Incorrect path of command 'sogo-tool` on OpenBSD.</li>
|
||||
<li>2015-01-12: [SQL backends] Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server.</li>
|
||||
</ul>
|
||||
<h2 id="general-all-backends-should-apply-these-steps">General (All backends should apply these steps)</h2>
|
||||
<h3 id="fixed-incorrect-path-of-command-sogo-tool-on-openbsd">Fixed: Incorrect path of command 'sogo-tool' on OpenBSD</h3>
|
||||
<h3 id="fixed-incorrect-path-of-command-sogo-tool-on-openbsd">Fixed: Incorrect path of command <code>sogo-tool</code> on OpenBSD</h3>
|
||||
<p>Note: this step is applicable to only OpenBSD.</p>
|
||||
<p>Please check user <code>_sogo</code>'s cron job, make sure path to <code>sogo-tool</code> command is
|
||||
<code>/usr/local/sbin/sogo-tool</code>:</p>
|
||||
|
@ -50,6 +57,15 @@ command and fix it:</p>
|
|||
<pre><code># crontab -e -u _sogo
|
||||
</code></pre>
|
||||
|
||||
<h2 id="openldap-backend-special">OpenLDAP backend special</h2>
|
||||
<h3 id="fixed-not-backup-sogo-database">Fixed: not backup SOGo database</h3>
|
||||
<p>Note: this step is not applicable if you don't use SOGo groupware.</p>
|
||||
<p>Open backup script <code>/var/vmail/backup/backup_mysql.sh</code>, append SOGo SQL
|
||||
database name in variable <code>DATABASES=</code>. For example:</p>
|
||||
<pre><code>DATABASES='... sogo'
|
||||
</code></pre>
|
||||
|
||||
<p>Save your change and that's all.</p>
|
||||
<h2 id="mysqlmariadb-backend-special">MySQL/MariaDB backend special</h2>
|
||||
<h3 id="fixed-not-apply-service-restriction-in-dovecot-sql-query-file-while-acting-as-sasl-server">Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server</h3>
|
||||
<p>Please open Dovecot config file <code>/etc/dovecot/dovecot-mysql.conf</code>
|
||||
|
@ -67,6 +83,14 @@ password_query = SELECT password FROM mailbox WHERE username='%u' AND enable%Ls%
|
|||
</code></pre>
|
||||
|
||||
<p>Save your change and restart Dovecot service.</p>
|
||||
<h3 id="fixed-not-backup-sogo-database_1">Fixed: not backup SOGo database</h3>
|
||||
<p>Note: this step is not applicable if you don't use SOGo groupware.</p>
|
||||
<p>Open backup script <code>/var/vmail/backup/backup_mysql.sh</code>, append SOGo SQL
|
||||
database name in variable <code>DATABASES=</code>. For example:</p>
|
||||
<pre><code>DATABASES='... sogo'
|
||||
</code></pre>
|
||||
|
||||
<p>Save your change and that's all.</p>
|
||||
<h2 id="postgresql-backend-special">PostgreSQL backend special</h2>
|
||||
<h3 id="fixed-not-apply-service-restriction-in-dovecot-sql-query-file-while-acting-as-sasl-server_1">Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server</h3>
|
||||
<p>Please open Dovecot config file <code>/etc/dovecot/dovecot-pgsql.conf</code>
|
||||
|
@ -83,7 +107,15 @@ password_query = SELECT password FROM mailbox WHERE username='%u' AND active='1'
|
|||
password_query = SELECT password FROM mailbox WHERE username='%u' AND enable%Ls%Lc=1 AND active='1'
|
||||
</code></pre>
|
||||
|
||||
<p>Save your change and restart Dovecot service.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<!-- Google Analytics -->
|
||||
<p>Save your change and restart Dovecot service.</p>
|
||||
<h3 id="fixed-not-backup-sogo-database_2">Fixed: not backup SOGo database</h3>
|
||||
<p>Note: this step is not applicable if you don't use SOGo groupware.</p>
|
||||
<p>Open backup script <code>/var/vmail/backup/backup_mysql.sh</code>, append SOGo SQL
|
||||
database name in variable <code>DATABASES=</code>. For example:</p>
|
||||
<pre><code>DATABASES='... sogo'
|
||||
</code></pre>
|
||||
|
||||
<p>Save your change and that's all.</p><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<!-- Google Analytics -->
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
|
|
|
@ -8,12 +8,13 @@ WARNING: This is still a working in progress draft document, do __NOT__ apply it
|
|||
|
||||
## ChangeLog
|
||||
|
||||
* 2015-01-13: [All backends] Fixed: Incorrect path of command 'sogo-tool' on OpenBSD.
|
||||
* 2015-02-02: [All backends] Fixed: Not backup SOGo database. Note: this step is not applicable if you don't use SOGo groupware.
|
||||
* 2015-01-13: [All backends] Fixed: Incorrect path of command 'sogo-tool` on OpenBSD.
|
||||
* 2015-01-12: [SQL backends] Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server.
|
||||
|
||||
## General (All backends should apply these steps)
|
||||
|
||||
### Fixed: Incorrect path of command 'sogo-tool' on OpenBSD
|
||||
### Fixed: Incorrect path of command `sogo-tool` on OpenBSD
|
||||
|
||||
Note: this step is applicable to only OpenBSD.
|
||||
|
||||
|
@ -31,6 +32,21 @@ command and fix it:
|
|||
# crontab -e -u _sogo
|
||||
```
|
||||
|
||||
## OpenLDAP backend special
|
||||
|
||||
### Fixed: not backup SOGo database
|
||||
|
||||
Note: this step is not applicable if you don't use SOGo groupware.
|
||||
|
||||
Open backup script `/var/vmail/backup/backup_mysql.sh`, append SOGo SQL
|
||||
database name in variable `DATABASES=`. For example:
|
||||
|
||||
```
|
||||
DATABASES='... sogo'
|
||||
```
|
||||
|
||||
Save your change and that's all.
|
||||
|
||||
## MySQL/MariaDB backend special
|
||||
|
||||
### Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server
|
||||
|
@ -55,6 +71,19 @@ password_query = SELECT password FROM mailbox WHERE username='%u' AND enable%Ls%
|
|||
|
||||
Save your change and restart Dovecot service.
|
||||
|
||||
### Fixed: not backup SOGo database
|
||||
|
||||
Note: this step is not applicable if you don't use SOGo groupware.
|
||||
|
||||
Open backup script `/var/vmail/backup/backup_mysql.sh`, append SOGo SQL
|
||||
database name in variable `DATABASES=`. For example:
|
||||
|
||||
```
|
||||
DATABASES='... sogo'
|
||||
```
|
||||
|
||||
Save your change and that's all.
|
||||
|
||||
## PostgreSQL backend special
|
||||
|
||||
### Fixed: Not apply service restriction in Dovecot SQL query file while acting as SASL server
|
||||
|
@ -78,3 +107,16 @@ password_query = SELECT password FROM mailbox WHERE username='%u' AND enable%Ls%
|
|||
```
|
||||
|
||||
Save your change and restart Dovecot service.
|
||||
|
||||
### Fixed: not backup SOGo database
|
||||
|
||||
Note: this step is not applicable if you don't use SOGo groupware.
|
||||
|
||||
Open backup script `/var/vmail/backup/backup_mysql.sh`, append SOGo SQL
|
||||
database name in variable `DATABASES=`. For example:
|
||||
|
||||
```
|
||||
DATABASES='... sogo'
|
||||
```
|
||||
|
||||
Save your change and that's all.
|
||||
|
|
Loading…
Reference in New Issue