Typo in sogo-centos-6-mysql.html.
This commit is contained in:
parent
7df81d9212
commit
08a66da71c
|
@ -45,7 +45,8 @@ all_chapter_dirs="installation \
|
|||
# Get chapter info
|
||||
# - title: _title.md
|
||||
# - summary: _summary.md
|
||||
echo "We're migrating [old wiki documents](http://www.iredmail.org/wiki) to Markdown format for easier maintenance, all documents are available [here](https://bitbucket.org/zhb/docs.iredmail.org/src)." >> ${INDEX_MD}
|
||||
echo "We're migrating [old wiki documents](http://www.iredmail.org/wiki) to Markdown format for easier maintenance, all documents are available [here](https://bitbucket.org/zhb/docs.iredmail.org/src)." > ${INDEX_MD}
|
||||
echo "We're migrating [old wiki documents](http://www.iredmail.org/wiki) to Markdown format for easier maintenance." > ${README_MD}
|
||||
|
||||
for chapter_dir in ${all_chapter_dirs}; do
|
||||
# Get articles
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p><strong>NOTE</strong>: this is still a draft and incomplete tutorial.</p>
|
||||
<h2 id="requirements">Requirements</h2>
|
||||
<ul>
|
||||
<li>A working iRedMail server (MySQL backend) on CentOS 6.</li>
|
||||
|
@ -73,7 +72,7 @@ mysql> GRANT ALL ON sogo.* TO sogo@localhost IDENTIFIED BY 'password';
|
|||
|
||||
mysql> GRANT SELECT ON vmail.mailbox TO sogo@localhost;
|
||||
|
||||
mysql> CREATE VIEW sogo.sogo_users (c_uid, c_name, c_password, c_cn, mail, home) AS SELECT username, username, password, name, username, maildir FROM vmail.mailbox;
|
||||
mysql> CREATE VIEW sogo.users (c_uid, c_name, c_password, c_cn, mail, home) AS SELECT username, username, password, name, username, maildir FROM vmail.mailbox;
|
||||
</code></pre>
|
||||
|
||||
<h2 id="configure-sogo">Configure SOGo</h2>
|
||||
|
@ -81,34 +80,37 @@ mysql> CREATE VIEW sogo.sogo_users (c_uid, c_name, c_password, c_cn, mail, ho
|
|||
<pre><code>{
|
||||
WOPort = 127.0.0.1:20000;
|
||||
|
||||
SOGoProfileURL = "mysql://sogo:password@localhost:3306/sogo/sogo_user_profile";
|
||||
OCSFolderInfoURL = "mysql://sogo:password@localhost:3306/sogo/sogo_folder_info";
|
||||
OCSSessionsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sogo_sessions_folder";
|
||||
SOGoProfileURL = "mysql://sogo:password@localhost:3306/sogo/user_profiles";
|
||||
OCSFolderInfoURL = "mysql://sogo:password@localhost:3306/sogo/folders";
|
||||
OCSSessionsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sessions";
|
||||
|
||||
// Enable email-based alarms on events and tasks.
|
||||
SOGoEnableEMailAlarms = YES;
|
||||
OCSEMailAlarmsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sogo_alarms_folder";
|
||||
OCSEMailAlarmsFolderURL = "mysql://sogo:password@localhost:3306/sogo/alarms";
|
||||
|
||||
// Use TLS
|
||||
SOGoIMAPServer = "imaps://127.0.0.1:143/?tls=YES";
|
||||
//SOGoDraftsFolderName = Drafts;
|
||||
//SOGoSentFolderName = Sent;
|
||||
//SOGoTrashFolderName = Trash;
|
||||
//SOGoIMAPServer = "imaps://127.0.0.1:143/?tls=YES";
|
||||
// Local connection is considered as secure by Dovecot.
|
||||
SOGoIMAPServer = "imap://127.0.0.1:143/";
|
||||
|
||||
SOGoMailingMechanism = smtp;
|
||||
SOGoSMTPServer = 127.0.0.1;
|
||||
|
||||
// Enable managesieve service
|
||||
SOGoSieveServer = sieve://127.0.0.1:4190;
|
||||
SOGoSieveScriptsEnabled = YES;
|
||||
SOGoVacationEnabled = YES;
|
||||
//
|
||||
// WARNING: Sieve scripts generated by SOGo is not compatible with Roundcube
|
||||
// webmail, don't use sieve service in both webmails, otherwise
|
||||
// it will be messy.
|
||||
//
|
||||
//SOGoSieveServer = sieve://PH_MANAGESIEVE_BIND_HOST:PH_MANAGESIEVE_PORT;
|
||||
//SOGoSieveScriptsEnabled = YES;
|
||||
//SOGoVacationEnabled = YES;
|
||||
//SOGoForwardEnabled = YES;
|
||||
|
||||
SOGoMemcachedHost = 127.0.0.1;
|
||||
|
||||
SOGoTimeZone = "Europe/Berlin";
|
||||
|
||||
SOGoFirstDayOfWeek = 1;
|
||||
|
||||
SOGoMailMessageCheck = every_5_minutes;
|
||||
SOGoForceExternalLoginWithEmail = YES;
|
||||
SOGoAppointmentSendEMailNotifications = YES;
|
||||
|
@ -117,24 +119,28 @@ mysql> CREATE VIEW sogo.sogo_users (c_uid, c_name, c_password, c_cn, mail, ho
|
|||
|
||||
SOGoPasswordChangeEnabled = YES;
|
||||
|
||||
// User authentication
|
||||
SOGoUserSources =
|
||||
(
|
||||
{
|
||||
type = sql;
|
||||
id = directory;
|
||||
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_users";
|
||||
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/users";
|
||||
|
||||
canAuthenticate = YES;
|
||||
isAddressBook = YES;
|
||||
userPasswordAlgorithm = md5;
|
||||
prependPasswordScheme = YES;
|
||||
|
||||
// SOGo can use SQL database as address book, but it's able to
|
||||
// query ALL mail accounts. Enable it on your own.
|
||||
isAddressBook = NO;
|
||||
}
|
||||
);
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p><strong>NOTE</strong>: SOGo will create required SQL tables automatically
|
||||
(<code>sogo_user_profile</code>, <code>sogo_folder_info</code>, <code>sogo_sessions_folder</code>, ...), we
|
||||
don't need to create them manually.</p>
|
||||
<p><strong>NOTE</strong>: SOGo will create required SQL tables automatically (<code>user_profiles</code>,
|
||||
<code>folder</code>, <code>sessions</code>, ...), we don't need to create them manually.</p>
|
||||
<h2 id="enable-activesync-support">Enable ActiveSync support</h2>
|
||||
<h3 id="apache-web-server">Apache web server</h3>
|
||||
<p>SOGo installs config file <code>/etc/httpd/conf.d/SOGo.conf</code> by default, please
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
[TOC]
|
||||
|
||||
|
||||
__NOTE__: this is still a draft and incomplete tutorial.
|
||||
|
||||
## Requirements
|
||||
|
||||
* A working iRedMail server (MySQL backend) on CentOS 6.
|
||||
|
@ -45,7 +42,7 @@ mysql> GRANT ALL ON sogo.* TO sogo@localhost IDENTIFIED BY 'password';
|
|||
|
||||
mysql> GRANT SELECT ON vmail.mailbox TO sogo@localhost;
|
||||
|
||||
mysql> CREATE VIEW sogo.sogo_users (c_uid, c_name, c_password, c_cn, mail, home) AS SELECT username, username, password, name, username, maildir FROM vmail.mailbox;
|
||||
mysql> CREATE VIEW sogo.users (c_uid, c_name, c_password, c_cn, mail, home) AS SELECT username, username, password, name, username, maildir FROM vmail.mailbox;
|
||||
```
|
||||
|
||||
## Configure SOGo
|
||||
|
@ -56,34 +53,37 @@ Default SOGo config file is `/etc/sogo/sogo.conf`:
|
|||
{
|
||||
WOPort = 127.0.0.1:20000;
|
||||
|
||||
SOGoProfileURL = "mysql://sogo:password@localhost:3306/sogo/sogo_user_profile";
|
||||
OCSFolderInfoURL = "mysql://sogo:password@localhost:3306/sogo/sogo_folder_info";
|
||||
OCSSessionsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sogo_sessions_folder";
|
||||
SOGoProfileURL = "mysql://sogo:password@localhost:3306/sogo/user_profiles";
|
||||
OCSFolderInfoURL = "mysql://sogo:password@localhost:3306/sogo/folders";
|
||||
OCSSessionsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sessions";
|
||||
|
||||
// Enable email-based alarms on events and tasks.
|
||||
SOGoEnableEMailAlarms = YES;
|
||||
OCSEMailAlarmsFolderURL = "mysql://sogo:password@localhost:3306/sogo/sogo_alarms_folder";
|
||||
OCSEMailAlarmsFolderURL = "mysql://sogo:password@localhost:3306/sogo/alarms";
|
||||
|
||||
// Use TLS
|
||||
SOGoIMAPServer = "imaps://127.0.0.1:143/?tls=YES";
|
||||
//SOGoDraftsFolderName = Drafts;
|
||||
//SOGoSentFolderName = Sent;
|
||||
//SOGoTrashFolderName = Trash;
|
||||
//SOGoIMAPServer = "imaps://127.0.0.1:143/?tls=YES";
|
||||
// Local connection is considered as secure by Dovecot.
|
||||
SOGoIMAPServer = "imap://127.0.0.1:143/";
|
||||
|
||||
SOGoMailingMechanism = smtp;
|
||||
SOGoSMTPServer = 127.0.0.1;
|
||||
|
||||
// Enable managesieve service
|
||||
SOGoSieveServer = sieve://127.0.0.1:4190;
|
||||
SOGoSieveScriptsEnabled = YES;
|
||||
SOGoVacationEnabled = YES;
|
||||
//
|
||||
// WARNING: Sieve scripts generated by SOGo is not compatible with Roundcube
|
||||
// webmail, don't use sieve service in both webmails, otherwise
|
||||
// it will be messy.
|
||||
//
|
||||
//SOGoSieveServer = sieve://PH_MANAGESIEVE_BIND_HOST:PH_MANAGESIEVE_PORT;
|
||||
//SOGoSieveScriptsEnabled = YES;
|
||||
//SOGoVacationEnabled = YES;
|
||||
//SOGoForwardEnabled = YES;
|
||||
|
||||
SOGoMemcachedHost = 127.0.0.1;
|
||||
|
||||
SOGoTimeZone = "Europe/Berlin";
|
||||
|
||||
SOGoFirstDayOfWeek = 1;
|
||||
|
||||
SOGoMailMessageCheck = every_5_minutes;
|
||||
SOGoForceExternalLoginWithEmail = YES;
|
||||
SOGoAppointmentSendEMailNotifications = YES;
|
||||
|
@ -92,24 +92,28 @@ Default SOGo config file is `/etc/sogo/sogo.conf`:
|
|||
|
||||
SOGoPasswordChangeEnabled = YES;
|
||||
|
||||
// User authentication
|
||||
SOGoUserSources =
|
||||
(
|
||||
{
|
||||
type = sql;
|
||||
id = directory;
|
||||
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/sogo_users";
|
||||
viewURL = "mysql://sogo:password@127.0.0.1:3306/sogo/users";
|
||||
|
||||
canAuthenticate = YES;
|
||||
isAddressBook = YES;
|
||||
userPasswordAlgorithm = md5;
|
||||
prependPasswordScheme = YES;
|
||||
|
||||
// SOGo can use SQL database as address book, but it's able to
|
||||
// query ALL mail accounts. Enable it on your own.
|
||||
isAddressBook = NO;
|
||||
}
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
__NOTE__: SOGo will create required SQL tables automatically
|
||||
(`sogo_user_profile`, `sogo_folder_info`, `sogo_sessions_folder`, ...), we
|
||||
don't need to create them manually.
|
||||
__NOTE__: SOGo will create required SQL tables automatically (`user_profiles`,
|
||||
`folder`, `sessions`, ...), we don't need to create them manually.
|
||||
|
||||
## Enable ActiveSync support
|
||||
|
||||
|
|
Loading…
Reference in New Issue