Sync iRedMail upgrade tutorial.
This commit is contained in:
parent
b733cd367d
commit
40887e884e
|
@ -103,8 +103,8 @@ Note:
|
|||
|
||||
## Roundcube webmail
|
||||
|
||||
Roundcube uses its own setting `max_message_size` to limit message size, please
|
||||
add or update this parameter in its config file:
|
||||
Roundcube 1.3.0 and later releases use its own setting `max_message_size` to
|
||||
limit message size, please add or update this parameter in its config file:
|
||||
|
||||
* on RHEL/CentOS, it's `/opt/www/roundcubemail/config/config.inc.php`.
|
||||
Old iRedMail releases use `/var/www/roundcubemail/config/config.inc.php`.
|
||||
|
|
|
@ -80,6 +80,8 @@ Please run SQL commands below as MySQL root user:
|
|||
USE fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures INT(2) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN `rdns` VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX rdns ON banned (`rdns`);
|
||||
```
|
||||
|
||||
Now open file `/etc/fail2ban/action.d/banned_db.conf`, find the `actionban =`
|
||||
|
@ -134,6 +136,8 @@ Please run SQL commands below as MySQL root user:
|
|||
USE fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures INT(2) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN `rdns` VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX rdns ON banned (`rdns`);
|
||||
```
|
||||
|
||||
Now open file `/etc/fail2ban/action.d/banned_db.conf`, find the `actionban =`
|
||||
|
@ -191,6 +195,8 @@ psql -d fail2ban
|
|||
\c fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures SMALLINT NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN rdns VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX idx_banned_rdns ON banned (rdns);
|
||||
```
|
||||
|
||||
* Open file `/etc/fail2ban/action.d/banned_db.conf`, find the `actionban =`
|
||||
|
|
|
@ -130,8 +130,8 @@ post_max_size = 100M;
|
|||
<li>If you're running Apache as web server, restarting Apache service is required.</li>
|
||||
</ul>
|
||||
<h2 id="roundcube-webmail">Roundcube webmail</h2>
|
||||
<p>Roundcube uses its own setting <code>max_message_size</code> to limit message size, please
|
||||
add or update this parameter in its config file:</p>
|
||||
<p>Roundcube 1.3.0 and later releases use its own setting <code>max_message_size</code> to
|
||||
limit message size, please add or update this parameter in its config file:</p>
|
||||
<ul>
|
||||
<li>on RHEL/CentOS, it's <code>/opt/www/roundcubemail/config/config.inc.php</code>.
|
||||
Old iRedMail releases use <code>/var/www/roundcubemail/config/config.inc.php</code>.</li>
|
||||
|
|
|
@ -106,6 +106,8 @@ Fail2ban SQL database, also number of times the failure occurred in log files.</
|
|||
<pre><code>USE fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures INT(2) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN `rdns` VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX rdns ON banned (`rdns`);
|
||||
</code></pre>
|
||||
|
||||
<p>Now open file <code>/etc/fail2ban/action.d/banned_db.conf</code>, find the <code>actionban =</code>
|
||||
|
@ -145,6 +147,8 @@ Fail2ban SQL database, also number of times the failure occurred in log files.</
|
|||
<pre><code>USE fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures INT(2) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN `rdns` VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX rdns ON banned (`rdns`);
|
||||
</code></pre>
|
||||
|
||||
<p>Now open file <code>/etc/fail2ban/action.d/banned_db.conf</code>, find the <code>actionban =</code>
|
||||
|
@ -193,6 +197,8 @@ psql -d fail2ban
|
|||
<pre><code>\c fail2ban;
|
||||
ALTER TABLE banned ADD COLUMN failures SMALLINT NOT NULL DEFAULT 0;
|
||||
ALTER TABLE banned ADD COLUMN loglines TEXT;
|
||||
ALTER TABLE banned ADD COLUMN rdns VARCHAR(255) NOT NULL DEFAULT '';
|
||||
CREATE INDEX idx_banned_rdns ON banned (rdns);
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue