This commit is contained in:
Zhang Huangbin 2020-04-18 13:28:23 +08:00
parent c9634e0beb
commit 28ef80a7e2
4 changed files with 28 additions and 12 deletions

View File

@ -119,16 +119,18 @@ query_filter = (&(accountStatus=active)(!(domainStatus=disabled))(enabledServ
### Improvement: OpenLDAP backup script doesn't relies on Python anymore
OpenLDAP backup script `/var/vmail/backup/backup_openldap.sh` shipped in iRedMail-1.0
and earlier releases relies on Python to calculate the date of old backup for
removal, but not anymore in iRedMail-1.1. Please download the latest version
and override the one on your system:
OpenLDAP backup scripts `/var/vmail/backup/backup_openldap.sh` and
`backup_mysql.sh` shipped in iRedMail-1.0 and earlier releases relies on Python
to calculate the date of old backup for removal, but not anymore in
iRedMail-1.1. Please download the latest version and override the one on your
system:
```
cd /var/vmail/backup/
wget -O backup_openldap.sh https://github.com/iredmail/iRedMail/raw/1.1/tools/backup_openldap.sh
chown root backup_openldap.sh
chmod 0500 backup_openldap.sh
wget -O backup_openldap.sh https://github.com/iredmail/iRedMail/raw/1.1/tools/backup_mysql.sh
chown root backup_openldap.sh backup_mysql.sh
chmod 0500 backup_openldap.sh backup_mysql.sh
```
## For MySQL/MariaDB backends

View File

@ -157,6 +157,12 @@ in SQL database, then you can view and manage them with iRedAdmin-Pro directly.
### Improved last login track
!!! attention
User last login track is optional if you didn't implement it while
upgrading iRedMail to 1.0. Here's the full tutorial to implement last login
track: [Track user last login time](./track.user.last.login.html).
In iRedMail-1.0, Dovecot is configured to store user last login time in SQL
database `iredadmin`, but it only tracks either POP3 or IMAP login. In
iRedMail-1.2, it tracks both. Please follow steps below to implement this

View File

@ -144,14 +144,16 @@ Please follow steps below to fix it.</p>
<li>Save your change and restart or reload Postfix service.</li>
</ul>
<h3 id="improvement-openldap-backup-script-doesnt-relies-on-python-anymore">Improvement: OpenLDAP backup script doesn't relies on Python anymore</h3>
<p>OpenLDAP backup script <code>/var/vmail/backup/backup_openldap.sh</code> shipped in iRedMail-1.0
and earlier releases relies on Python to calculate the date of old backup for
removal, but not anymore in iRedMail-1.1. Please download the latest version
and override the one on your system:</p>
<p>OpenLDAP backup scripts <code>/var/vmail/backup/backup_openldap.sh</code> and
<code>backup_mysql.sh</code> shipped in iRedMail-1.0 and earlier releases relies on Python
to calculate the date of old backup for removal, but not anymore in
iRedMail-1.1. Please download the latest version and override the one on your
system:</p>
<pre><code>cd /var/vmail/backup/
wget -O backup_openldap.sh https://github.com/iredmail/iRedMail/raw/1.1/tools/backup_openldap.sh
chown root backup_openldap.sh
chmod 0500 backup_openldap.sh
wget -O backup_openldap.sh https://github.com/iredmail/iRedMail/raw/1.1/tools/backup_mysql.sh
chown root backup_openldap.sh backup_mysql.sh
chmod 0500 backup_openldap.sh backup_mysql.sh
</code></pre>
<h2 id="for-mysqlmariadb-backends">For MySQL/MariaDB backends</h2>

View File

@ -180,6 +180,12 @@ in SQL database, then you can view and manage them with iRedAdmin-Pro directly.<
</ul>
<h2 id="for-mysqlmariadb-backends">For MySQL/MariaDB backends</h2>
<h3 id="improved-last-login-track_1">Improved last login track</h3>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>User last login track is optional if you didn't implement it while
upgrading iRedMail to 1.0. Here's the full tutorial to implement last login
track: <a href="./track.user.last.login.html">Track user last login time</a>.</p>
</div>
<p>In iRedMail-1.0, Dovecot is configured to store user last login time in SQL
database <code>iredadmin</code>, but it only tracks either POP3 or IMAP login. In
iRedMail-1.2, it tracks both. Please follow steps below to implement this