Fix typo.

This commit is contained in:
Zhang Huangbin 2018-04-18 17:50:33 +08:00
parent 673138b3ec
commit c26c5e3657
4 changed files with 10 additions and 10 deletions

View File

@ -165,7 +165,7 @@ transport_maps =
user = vmail user = vmail
password = qsescZvV03f6YUtTMN2bQTejmjatzz password = qsescZvV03f6YUtTMN2bQTejmjatzz
hosts = 127.0.0.1 hosts = 127.0.0.1
port = 3306 port = 5432
dbname = vmail dbname = vmail
query = SELECT maillists.transport FROM maillists,domain WHERE maillists.address='%s' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1 query = SELECT maillists.transport FROM maillists,domain WHERE maillists.address='%s' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
``` ```
@ -323,7 +323,7 @@ backend_cli = 'bk_iredmail_sql'
``` ```
iredmail_sql_db_type = 'pgsql' iredmail_sql_db_type = 'pgsql'
iredmail_sql_db_server = '127.0.0.1' iredmail_sql_db_server = '127.0.0.1'
iredmail_sql_db_port = 3306 iredmail_sql_db_port = 5432
iredmail_sql_db_name = 'vmail' iredmail_sql_db_name = 'vmail'
iredmail_sql_db_user = 'vmailadmin' iredmail_sql_db_user = 'vmailadmin'
iredmail_sql_db_password = '<password>' iredmail_sql_db_password = '<password>'

View File

@ -729,7 +729,7 @@ We've made some changes to `vmail` database:
Download SQL template file used to update SQL database: Download SQL template file used to update SQL database:
``` ```
cd /root/ cd /tmp/
wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.8/iredmail.pgsql wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.8/iredmail.pgsql
``` ```
@ -740,7 +740,7 @@ Connect to PostgreSQL server as `postgres` user and import the SQL file:
``` ```
su - postgres su - postgres
psql -d vmail < /root/iredmail.mysql psql -d vmail < /tmp/iredmail.pgsql
``` ```
### mlmmj (mailing list manager) integration ### mlmmj (mailing list manager) integration
@ -748,7 +748,7 @@ psql -d vmail < /root/iredmail.mysql
iRedMail-0.9.8 integrates mlmmj as mailing list manager, please follow our iRedMail-0.9.8 integrates mlmmj as mailing list manager, please follow our
document below to integrate it: document below to integrate it:
* [Integrate mlmmj mailing list manager](./integration.mlmmj.mysql.html) * [Integrate mlmmj mailing list manager](./integration.mlmmj.pgsql.html)
!!! attention !!! attention

View File

@ -185,7 +185,7 @@ mlmmj unix - n n - - pipe
<pre><code>user = vmail <pre><code>user = vmail
password = qsescZvV03f6YUtTMN2bQTejmjatzz password = qsescZvV03f6YUtTMN2bQTejmjatzz
hosts = 127.0.0.1 hosts = 127.0.0.1
port = 3306 port = 5432
dbname = vmail dbname = vmail
query = SELECT maillists.transport FROM maillists,domain WHERE maillists.address='%s' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1 query = SELECT maillists.transport FROM maillists,domain WHERE maillists.address='%s' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
</code></pre> </code></pre>
@ -339,7 +339,7 @@ use SQL user <code>vmailadmin</code> for this purpose.</p>
</ul> </ul>
<pre><code>iredmail_sql_db_type = 'pgsql' <pre><code>iredmail_sql_db_type = 'pgsql'
iredmail_sql_db_server = '127.0.0.1' iredmail_sql_db_server = '127.0.0.1'
iredmail_sql_db_port = 3306 iredmail_sql_db_port = 5432
iredmail_sql_db_name = 'vmail' iredmail_sql_db_name = 'vmail'
iredmail_sql_db_user = 'vmailadmin' iredmail_sql_db_user = 'vmailadmin'
iredmail_sql_db_password = '&lt;password&gt;' iredmail_sql_db_password = '&lt;password&gt;'

View File

@ -720,7 +720,7 @@ sasl auth. Please follow steps below to fix it.</p>
<p><code>bash /var/vmail/backup/backup_pgsql.sh</code></p> <p><code>bash /var/vmail/backup/backup_pgsql.sh</code></p>
</div> </div>
<p>Download SQL template file used to update SQL database:</p> <p>Download SQL template file used to update SQL database:</p>
<pre><code>cd /root/ <pre><code>cd /tmp/
wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.8/iredmail.pgsql wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.8/iredmail.pgsql
</code></pre> </code></pre>
@ -729,14 +729,14 @@ wget https://bitbucket.org/zhb/iredmail/raw/default/extra/update/0.9.8/iredmail.
</em> on FreeBSD, it's <code>pgsql</code> user </em> on FreeBSD, it's <code>pgsql</code> user
* on OpenBSD, it's <code>_postgresql</code> user</p> * on OpenBSD, it's <code>_postgresql</code> user</p>
<pre><code>su - postgres <pre><code>su - postgres
psql -d vmail &lt; /root/iredmail.mysql psql -d vmail &lt; /tmp/iredmail.pgsql
</code></pre> </code></pre>
<h3 id="mlmmj-mailing-list-manager-integration_2">mlmmj (mailing list manager) integration</h3> <h3 id="mlmmj-mailing-list-manager-integration_2">mlmmj (mailing list manager) integration</h3>
<p>iRedMail-0.9.8 integrates mlmmj as mailing list manager, please follow our <p>iRedMail-0.9.8 integrates mlmmj as mailing list manager, please follow our
document below to integrate it:</p> document below to integrate it:</p>
<ul> <ul>
<li><a href="./integration.mlmmj.mysql.html">Integrate mlmmj mailing list manager</a></li> <li><a href="./integration.mlmmj.pgsql.html">Integrate mlmmj mailing list manager</a></li>
</ul> </ul>
<div class="admonition attention"> <div class="admonition attention">
<p class="admonition-title">Attention</p> <p class="admonition-title">Attention</p>