[SOGo] BTS activities for Tuesday, April 30 2019

2019-04-30 Thread SOGo reporter
Title: BTS activities for Tuesday, April 30 2019





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Tuesday, April 30 2019

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2479
	2019-04-30 08:38:14
	updated (open)
	Backend General
	Ampersand in the local-part of an email in LDAP blocks CalDAV access.
	
	  
	
4726
	2019-04-30 11:02:58
	updated (open)
	i18n
	Catalan language: a lot of missing translations
	
	  
	
  
  


-- users@sogo.nuhttps://inverse.ca/sogo/lists

Re: [SOGo] install sogo on ubuntu 18.04

2019-04-30 Thread Zhang Huangbin


> On Apr 30, 2019, at 10:23 PM, Yaisel Cruz Zuñiga (yc...@ucf.edu.cu) 
>  wrote:
> 
> Hello list, somebody has some tutoring how to install sogo in ubuntu 18.04 
> server ?

If you're building a new mail server, try iRedMail, it integrates SOGo 
Groupware.
https://www.iredmail.org/ 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] How to select a "Sent Folder" per user on SOGo4

2019-04-30 Thread Thibault Le Meur
Hi Francis,

Thanks for the answer,
Indeed, we are using some cyrus imapd servers and the Sent folder is under the 
INBOX  root folder.

Any reason why  this condition on folder having level === 0 is applied before 
showing the ‘Set as Xxx’ option on folders ?

Anyway,  I’m going open a ticket then.

Thanks a lot,
Thibault


> Le 30 avr. 2019 à 20:55, Francis Lachapelle (flachape...@inverse.ca) 
>  a écrit :
> 
> Hi Thibault
> 
>> On Apr 29, 2019, at 1:04 PM, Thibault Le Meur 
>> (thibault.lem...@centralesupelec.fr)  wrote:
>> 
>> In version 2, it was possible to right-click a folder and define it as
>> the "Sent Folder".
>> I can't see this option anymore in SOGOv3 or 4, but I may have missed it.
>> 
>> There is an IMAP configuration option, but not a per-user option.
>> We're using several mail servers (each one with different Cyrus/Dovecot
>> configurations) but our SOGo is setup as a single domain server
>> (mailhost selection is based on an LDAP attribute): thus we can't just
>> use the IMAP configuration parameter.
>> 
>> Is there a way to set this per-user Sent folder in the Web interface ?
> 
> Are you trying to set a subfolder as the sent folder? The folder/mailbox as 
> to be at the root level. You can open a ticket¹ if you feel the behaviour is 
> incorrect.
> 
> Thanks
> 
> Francis
> 
> [1] https://sogo.nu/bugs/
> 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] How to select a "Sent Folder" per user on SOGo4

2019-04-30 Thread Francis Lachapelle
Hi Thibault

> On Apr 29, 2019, at 1:04 PM, Thibault Le Meur 
> (thibault.lem...@centralesupelec.fr)  wrote:
> 
> In version 2, it was possible to right-click a folder and define it as
> the "Sent Folder".
> I can't see this option anymore in SOGOv3 or 4, but I may have missed it.
> 
> There is an IMAP configuration option, but not a per-user option.
> We're using several mail servers (each one with different Cyrus/Dovecot
> configurations) but our SOGo is setup as a single domain server
> (mailhost selection is based on an LDAP attribute): thus we can't just
> use the IMAP configuration parameter.
> 
> Is there a way to set this per-user Sent folder in the Web interface ?

Are you trying to set a subfolder as the sent folder? The folder/mailbox as to 
be at the root level. You can open a ticket¹ if you feel the behaviour is 
incorrect.

Thanks

Francis

[1] https://sogo.nu/bugs/

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

RE: [SOGo] How to select a "Sent Folder" per user on SOGo4

2019-04-30 Thread "Andreas Blaha"
Then I must admit I have no clue left, sorry. Back to the pro's ..

-Original Message-
From: users-requ...@sogo.nu  On Behalf Of Thibault Le 
Meur
Sent: Tuesday, April 30, 2019 4:44 PM
To: "Andreas Blaha" (andr...@blaha.at) 
Subject: Re: [SOGo] How to select a "Sent Folder" per user on SOGo4

Hi Andreas,

Thanks for your answer,

I've already tried the three dots, but I don't have this option available. I 
only have:
Mark Folder Read
New Subfolder...
Rename
Move To >
Compact
Delete
Export
Search
Sharing...


Could this be due to the fact that We have set the following parameters ?
  SOGoDraftsFolderName
  SOGoSentFolderName
  SOGoTrashFolderName

Regards,
Thibault


Le 29/04/2019 à 19:32, "Andreas Blaha" (andr...@blaha.at) a écrit :
> This riddle I think I can solve:
> Any folder can be set as Sent folder by clicking on the 3 dots besides 
> it and choose "Set As Sent" (or Drafts or Trash), at leasts for me 
> this works (not that I need it)
>
> Regards
>
> Andy
>
> -Original Message-
> From: users-requ...@sogo.nu  On Behalf Of 
> Thibault Le Meur
> Sent: Monday, April 29, 2019 7:05 PM
> To: users@sogo.nu
> Subject: [SOGo] How to select a "Sent Folder" per user on SOGo4
>
> Hello,
>
> In version 2, it was possible to right-click a folder and define it as 
> the "Sent Folder".
> I can't see this option anymore in SOGOv3 or 4, but I may have missed it.
>
> There is an IMAP configuration option, but not a per-user option.
> We're using several mail servers (each one with different 
> Cyrus/Dovecot
> configurations) but our SOGo is setup as a single domain server 
> (mailhost selection is based on an LDAP attribute): thus we can't just 
> use the IMAP configuration parameter.
>
> Is there a way to set this per-user Sent folder in the Web interface ?
>
> Thanks in advance,
> Thibault
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists

--
Thibault Le Meur
DISI - Responsable technique innovation pédagogique CentraleSupélec Bâtiment 
Bouygues, 9 rue Joliot-Curie
91190 Gif-sur-Yvette
Bureau SA.159
Nouveau tel:  01.75.31.60.38
Mob: 06.71.96.45.14 


--
users@sogo.nu
https://inverse.ca/sogo/lists


smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] How to select a "Sent Folder" per user on SOGo4

2019-04-30 Thread Thibault Le Meur
Hi Andreas,

Thanks for your answer,

I've already tried the three dots, but I don't have this option
available. I only have:
Mark Folder Read
New Subfolder...
Rename
Move To >
Compact
Delete
Export
Search
Sharing...


Could this be due to the fact that We have set the following parameters ?
  SOGoDraftsFolderName
  SOGoSentFolderName
  SOGoTrashFolderName

Regards,
Thibault


Le 29/04/2019 à 19:32, "Andreas Blaha" (andr...@blaha.at) a écrit :
> This riddle I think I can solve:
> Any folder can be set as Sent folder by clicking on the 3 dots besides it and 
> choose "Set As Sent" (or Drafts or Trash), at leasts for me this works (not 
> that I need it)
>
> Regards
>
> Andy
>
> -Original Message-
> From: users-requ...@sogo.nu  On Behalf Of Thibault Le 
> Meur
> Sent: Monday, April 29, 2019 7:05 PM
> To: users@sogo.nu
> Subject: [SOGo] How to select a "Sent Folder" per user on SOGo4
>
> Hello,
>
> In version 2, it was possible to right-click a folder and define it as the 
> "Sent Folder".
> I can't see this option anymore in SOGOv3 or 4, but I may have missed it.
>
> There is an IMAP configuration option, but not a per-user option.
> We're using several mail servers (each one with different Cyrus/Dovecot
> configurations) but our SOGo is setup as a single domain server (mailhost 
> selection is based on an LDAP attribute): thus we can't just use the IMAP 
> configuration parameter.
>
> Is there a way to set this per-user Sent folder in the Web interface ?
>
> Thanks in advance,
> Thibault
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
Thibault Le Meur 
DISI - Responsable technique innovation pédagogique
CentraleSupélec
Bâtiment Bouygues, 9 rue Joliot-Curie
91190 Gif-sur-Yvette
Bureau SA.159
Nouveau tel:  01.75.31.60.38
Mob: 06.71.96.45.14 


-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] install sogo on ubuntu 18.04

2019-04-30 Thread yc...@ucf.edu.cu

  
  
Hello list, somebody has some tutoring how
  to install sogo in ubuntu 18.04 server ?

  

-- users@sogo.nuhttps://inverse.ca/sogo/lists<>

Re: [SOGo] Does

2019-04-30 Thread luckydog xf
Thanks guys. I'll read docs as you suggest.

On Tue, Apr 30, 2019 at 7:49 PM Markus Winkler  wrote:

> Hi luckydog,
>
> On Tue, 30 Apr 2019 at 12:40:07PM +0800, luckydog xf wrote:
> >But I didn't congure https, does anyone share me that how to
> >configure https?
>
> there are tons of how-to's regarding Apache and https like this one
> (specific for SOGo):
>
> https://wiki.debian.org/SOGo
>
> But as you wrote:
>
> >yum install ...
>  ^^^
> you may prefer:
>
>
> https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7
> https://linuxize.com/post/secure-apache-with-let-s-encrypt-on-centos-7/
>
> HTH and regards,
> Markus
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] sogo-tool restore with remove - sogo-tool remove single objects

2019-04-30 Thread Thomas Winterstein

Hello,

we've got a ticket where a user needs a restore of a few calendar 
objects because their client somehow threw data from multiple calendars 
together.


Obviously we could create a recent backup, remove the whole user 
account, restore all but the few faulty calendars and then restore them 
from an earlier backup date. But that's not a very elegant solution.


- first idea was a simple sogo-tool restore but that does not support 
the deletion of elements if I tested correctly


- next I tried to remove single calendars but sogo-tool also does not 
support that


What would be the best solution for the issue? I don't want to start 
deleting SQL tables and asking the issuer to delete the specific objects 
also isn't a viable way.


I haven't found any bug reports or feature requests to that matter either.

Regards
--
Thomas Winterstein ... http://www.rz.uni-augsburg.de/zebra
Universität Augsburg, Rechenzentrum . Tel. (0821) 598-2068
86135 Augsburg .. Fax. (0821) 598-2010
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Does

2019-04-30 Thread Markus Winkler

Hi luckydog,

On Tue, 30 Apr 2019 at 12:40:07PM +0800, luckydog xf wrote:
But I didn't congure https, does anyone share me that how to 
configure https?


there are tons of how-to's regarding Apache and https like this one 
(specific for SOGo):


https://wiki.debian.org/SOGo

But as you wrote:


yum install ...

^^^
you may prefer:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7
https://linuxize.com/post/secure-apache-with-let-s-encrypt-on-centos-7/

HTH and regards,
Markus

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Does

2019-04-30 Thread lists

Hi,

There are many howto's out there. We are using Lets Encrypt 
certificates, configured using acme.sh
Just configure apache to use your certificates, and configure SOGo for 
https too.


MJ

On 30-4-2019 6:40, luckydog xf (luckydo...@gmail.com) wrote:

it's my bad, I type a WRONG server name.

After I fixed the server name, I used wireshark/tcpdump to capture 
packets, turns out  outlook requests https( port 443).


     172.16.232.24.49264 > 172.16.234.11.https: Flags [S], cksum 0x001f 
(correct), seq 3855978681, win 8192, options [mss 1460,nop,nop,sackOK], 
length 0


But I didn't congure https, does anyone share me that how to configure 
https?



On Tue, Apr 30, 2019 at 11:36 AM luckydog xf > wrote:


I use outlook 2016, here is my conf:

1. Add an Email Account -->Manual setup or addtional server types
--> outlook.com  or Exachange ActiveSync
compatible service.
2. Your name : test
     email address: t...@ad.pthl.hk 
    mail server: mail.ad.pthl.hk 
    user name : test
    password: 
---

it raised :

Log onto Exchange ActiveSync mail server (EAS): The server cannot be
found.

I traced /etc/sogo/sogod.conf and /etc/httpd/logs/access_log,
nothing is up.


On Tue, Apr 30, 2019 at 8:16 AM luckydog xf mailto:luckydo...@gmail.com>> wrote:

Here is my sogod.conf
-
{

   MySQL4Encoding = "utf8mb4";
   SOGoProfileURL =
"mysql://sogo:sogo%23123%21@localhost:3306/sogo/sogo_user_profile";
   OCSFolderInfoURL =
"mysql://sogo:sogo%23123%21@localhost:3306/sogo/sogo_folder_info";
   OCSSessionsFolderURL =
"mysql://sogo:sogo%23123%21@localhost:3306/sogo/sogo_sessions_folder";
   OCSEMailAlarmsFolderURL =
"mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_alarms_folder
";

   OCSCacheFolderURL =
"mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_cache_folder 
";
   OCSStoreURL =
"mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_store
";
   OCSAclURL =
"mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_acl
";

   SOGoLoginModule = Calendar;

   SOGoForceExternalLoginWithEmail = yes;

   SOGoDraftsFolderName = Drafts;
   SOGoSentFolderName = Sent;
   SOGoTrashFolderName = Trash;
   SOGoIMAPServer = imaps://172.16.234.11:993
;
   //SOGoSieveServer = sieve://127.0.0.1:4190
;
   SOGoSMTPServer = 172.16.234.11;
   SOGoMailDomain = ad.pthl.hk ;
   SOGoMailingMechanism = smtp;
   SOGoMailSpoolPath = /var/spool/sogo;
   //NGImap4ConnectionStringSeparator = "/";

   /* Authentication */
   //SOGoPasswordChangeEnabled = YES;

   /* LDAP authentication example */
   SOGoUserSources = (
     {
       type = ldap;
       CNFieldName = cn;
       UIDFieldName = uid;
       IDFieldName = uid; // first field of the DN for direct binds
       bindFields = (uid, mail); // array of fields to use for
indirect binds
       baseDN = "ou=people,dc=ad,dc=pthl,dc=hk";
       bindDN = "cn=Manager,dc=ad,dc=pthl,dc=hk";
       bindPassword = "Abc#123!";
       canAuthenticate = YES;
       displayName = "Shared Addresses";
       hostname = ldap://127.0.0.1:389 ;
       id = public;
       isAddressBook = YES;
     }
   );

   /* EAS optimization */

   WOWorkersCount = 15;
   SOGoMaximumPingInterval = 3540;
   SOGoMaximumSyncInterval = 3540;
   SOGoInternalSyncInterval = 30;

   /* Web Interface */
   SOGoPageTitle = SOGo;
   SOGoVacationEnabled = YES;
   SOGoForwardEnabled = YES;
   SOGoSieveScriptsEnabled = YES;
   SOGoMailAuxiliaryUserAccountsEnabled = YES;
   SOGoTrustProxyAuthentication = NO;
   SOGoXSRFValidationEnabled = YES;

   /* General - SOGoTimeZone *MUST* be defined */
   SOGoLanguage = English;
   SOGoTimeZone = Asia/Shanghai;
   SOGoCalendarDefaultRoles = (
     PublicDAndTViewer,
     ConfidentialDAndTViewer
   );
   SOGoSuperUsernames = (sogo1, sogo2); // This is an array -
keep the parens!
   SxVMemLimit = 768;
   WOPidFile = "/var/run/sogo/sogo.pid";
   SOGoMem

Re: [SOGo] Does

2019-04-30 Thread luckydog xf
it's my bad, I type a WRONG server name.

After I fixed the server name, I used wireshark/tcpdump to capture packets,
turns out  outlook requests https( port 443).

172.16.232.24.49264 > 172.16.234.11.https: Flags [S], cksum 0x001f
(correct), seq 3855978681, win 8192, options [mss 1460,nop,nop,sackOK],
length 0

But I didn't congure https, does anyone share me that how to configure
https?


On Tue, Apr 30, 2019 at 11:36 AM luckydog xf  wrote:

> I use outlook 2016, here is my conf:
>
> 1. Add an Email Account -->Manual setup or addtional server types -->
> outlook.com or Exachange ActiveSync compatible service.
> 2. Your name : test
> email address: t...@ad.pthl.hk
>
>mail server: mail.ad.pthl.hk
>user name : test
>password: 
>
> ---
>
> it raised :
>
> Log onto Exchange ActiveSync mail server (EAS): The server cannot be found.
>
> I traced /etc/sogo/sogod.conf and /etc/httpd/logs/access_log, nothing is
> up.
>
>
> On Tue, Apr 30, 2019 at 8:16 AM luckydog xf  wrote:
>
>> Here is my sogod.conf
>> -
>> {
>>
>>   MySQL4Encoding = "utf8mb4";
>>   SOGoProfileURL = "mysql://sogo:sogo%23123%21@localhost
>> :3306/sogo/sogo_user_profile";
>>   OCSFolderInfoURL = "mysql://sogo:sogo%23123%21@localhost
>> :3306/sogo/sogo_folder_info";
>>   OCSSessionsFolderURL = "mysql://sogo:sogo%23123%21@localhost
>> :3306/sogo/sogo_sessions_folder";
>>   OCSEMailAlarmsFolderURL = "mysql://
>> sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_alarms_folder";
>>
>>   OCSCacheFolderURL = "mysql://
>> sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_cache_folder";
>>   OCSStoreURL = "mysql://
>> sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_store";
>>   OCSAclURL = "mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_acl";
>>
>>   SOGoLoginModule = Calendar;
>>
>>   SOGoForceExternalLoginWithEmail = yes;
>>
>>   SOGoDraftsFolderName = Drafts;
>>   SOGoSentFolderName = Sent;
>>   SOGoTrashFolderName = Trash;
>>   SOGoIMAPServer = imaps://172.16.234.11:993;
>>   //SOGoSieveServer = sieve://127.0.0.1:4190;
>>   SOGoSMTPServer = 172.16.234.11;
>>   SOGoMailDomain = ad.pthl.hk;
>>   SOGoMailingMechanism = smtp;
>>   SOGoMailSpoolPath = /var/spool/sogo;
>>   //NGImap4ConnectionStringSeparator = "/";
>>
>>   /* Authentication */
>>   //SOGoPasswordChangeEnabled = YES;
>>
>>   /* LDAP authentication example */
>>   SOGoUserSources = (
>> {
>>   type = ldap;
>>   CNFieldName = cn;
>>   UIDFieldName = uid;
>>   IDFieldName = uid; // first field of the DN for direct binds
>>   bindFields = (uid, mail); // array of fields to use for indirect
>> binds
>>   baseDN = "ou=people,dc=ad,dc=pthl,dc=hk";
>>   bindDN = "cn=Manager,dc=ad,dc=pthl,dc=hk";
>>   bindPassword = "Abc#123!";
>>   canAuthenticate = YES;
>>   displayName = "Shared Addresses";
>>   hostname = ldap://127.0.0.1:389;
>>   id = public;
>>   isAddressBook = YES;
>> }
>>   );
>>
>>   /* EAS optimization */
>>
>>   WOWorkersCount = 15;
>>   SOGoMaximumPingInterval = 3540;
>>   SOGoMaximumSyncInterval = 3540;
>>   SOGoInternalSyncInterval = 30;
>>
>>   /* Web Interface */
>>   SOGoPageTitle = SOGo;
>>   SOGoVacationEnabled = YES;
>>   SOGoForwardEnabled = YES;
>>   SOGoSieveScriptsEnabled = YES;
>>   SOGoMailAuxiliaryUserAccountsEnabled = YES;
>>   SOGoTrustProxyAuthentication = NO;
>>   SOGoXSRFValidationEnabled = YES;
>>
>>   /* General - SOGoTimeZone *MUST* be defined */
>>   SOGoLanguage = English;
>>   SOGoTimeZone = Asia/Shanghai;
>>   SOGoCalendarDefaultRoles = (
>> PublicDAndTViewer,
>> ConfidentialDAndTViewer
>>   );
>>   SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the
>> parens!
>>   SxVMemLimit = 768;
>>   WOPidFile = "/var/run/sogo/sogo.pid";
>>   SOGoMemcachedHost = 127.0.0.1;
>>
>>   /* Debug */
>>  // SOGoDebugRequests = YES;
>>   //SoDebugBaseURL = YES;
>>   //ImapDebugEnabled = YES;
>>   //LDAPDebugEnabled = YES;
>>   //PGDebugEnabled = YES;
>>   //MySQL4DebugEnabled = YES;
>>   //SOGoUIxDebugEnabled = YES;
>>   //WODontZipResponse = YES;
>>   SOGoEASDebugEnabled = YES;
>>   WOLogFile = /var/log/sogo/sogo.log;
>> }
>> --
>>
>> I followed the docs https://sogo.nu/files/docs/SOGoInstallationGuide.html and
>> installed required packages by
>>
>> yum install sogo-activesync libwbxml
>>
>> Here is /etc/httpd/conf.d/SOGo.conf
>> Alias /SOGo.woa/WebServerResources/ \
>>   /usr/lib64/GNUstep/SOGo/WebServerResources/
>> Alias /SOGo/WebServerResources/ \
>>   /usr/lib64/GNUstep/SOGo/WebServerResources/
>>
>> 
>> AllowOverride None
>>
>> 
>> Order deny,allow
>> Allow from all
>> 
>> = 2.4>
>> Require all granted
>> 
>>
>> 
>>   ExpiresActive On
>>   ExpiresDefault "access plus 1 year"
>> 
>> 
>>
>>
>> ProxyRequests Off
>> SetEnv proxy-nokeepalive 1
>> ProxyPreserveHost On
>>
>>
>>
>> ProxyPass /Microsoft-Server-ActiveSync \
>>  http://127.0.0.1:2/SOGo/Microso

Re: [SOGo] Does

2019-04-30 Thread luckydog xf
I use outlook 2016, here is my conf:

1. Add an Email Account -->Manual setup or addtional server types -->
outlook.com or Exachange ActiveSync compatible service.
2. Your name : test
email address: t...@ad.pthl.hk

   mail server: mail.ad.pthl.hk
   user name : test
   password: 

---

it raised :

Log onto Exchange ActiveSync mail server (EAS): The server cannot be found.

I traced /etc/sogo/sogod.conf and /etc/httpd/logs/access_log, nothing is up.


On Tue, Apr 30, 2019 at 8:16 AM luckydog xf  wrote:

> Here is my sogod.conf
> -
> {
>
>   MySQL4Encoding = "utf8mb4";
>   SOGoProfileURL = "mysql://sogo:sogo%23123%21@localhost
> :3306/sogo/sogo_user_profile";
>   OCSFolderInfoURL = "mysql://sogo:sogo%23123%21@localhost
> :3306/sogo/sogo_folder_info";
>   OCSSessionsFolderURL = "mysql://sogo:sogo%23123%21@localhost
> :3306/sogo/sogo_sessions_folder";
>   OCSEMailAlarmsFolderURL = "mysql://
> sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_alarms_folder";
>
>   OCSCacheFolderURL = "mysql://
> sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_cache_folder";
>   OCSStoreURL = "mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_store
> ";
>   OCSAclURL = "mysql://sogo:sogo%23123%21@127.0.0.1:3306/sogo/sogo_acl";
>
>   SOGoLoginModule = Calendar;
>
>   SOGoForceExternalLoginWithEmail = yes;
>
>   SOGoDraftsFolderName = Drafts;
>   SOGoSentFolderName = Sent;
>   SOGoTrashFolderName = Trash;
>   SOGoIMAPServer = imaps://172.16.234.11:993;
>   //SOGoSieveServer = sieve://127.0.0.1:4190;
>   SOGoSMTPServer = 172.16.234.11;
>   SOGoMailDomain = ad.pthl.hk;
>   SOGoMailingMechanism = smtp;
>   SOGoMailSpoolPath = /var/spool/sogo;
>   //NGImap4ConnectionStringSeparator = "/";
>
>   /* Authentication */
>   //SOGoPasswordChangeEnabled = YES;
>
>   /* LDAP authentication example */
>   SOGoUserSources = (
> {
>   type = ldap;
>   CNFieldName = cn;
>   UIDFieldName = uid;
>   IDFieldName = uid; // first field of the DN for direct binds
>   bindFields = (uid, mail); // array of fields to use for indirect
> binds
>   baseDN = "ou=people,dc=ad,dc=pthl,dc=hk";
>   bindDN = "cn=Manager,dc=ad,dc=pthl,dc=hk";
>   bindPassword = "Abc#123!";
>   canAuthenticate = YES;
>   displayName = "Shared Addresses";
>   hostname = ldap://127.0.0.1:389;
>   id = public;
>   isAddressBook = YES;
> }
>   );
>
>   /* EAS optimization */
>
>   WOWorkersCount = 15;
>   SOGoMaximumPingInterval = 3540;
>   SOGoMaximumSyncInterval = 3540;
>   SOGoInternalSyncInterval = 30;
>
>   /* Web Interface */
>   SOGoPageTitle = SOGo;
>   SOGoVacationEnabled = YES;
>   SOGoForwardEnabled = YES;
>   SOGoSieveScriptsEnabled = YES;
>   SOGoMailAuxiliaryUserAccountsEnabled = YES;
>   SOGoTrustProxyAuthentication = NO;
>   SOGoXSRFValidationEnabled = YES;
>
>   /* General - SOGoTimeZone *MUST* be defined */
>   SOGoLanguage = English;
>   SOGoTimeZone = Asia/Shanghai;
>   SOGoCalendarDefaultRoles = (
> PublicDAndTViewer,
> ConfidentialDAndTViewer
>   );
>   SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the
> parens!
>   SxVMemLimit = 768;
>   WOPidFile = "/var/run/sogo/sogo.pid";
>   SOGoMemcachedHost = 127.0.0.1;
>
>   /* Debug */
>  // SOGoDebugRequests = YES;
>   //SoDebugBaseURL = YES;
>   //ImapDebugEnabled = YES;
>   //LDAPDebugEnabled = YES;
>   //PGDebugEnabled = YES;
>   //MySQL4DebugEnabled = YES;
>   //SOGoUIxDebugEnabled = YES;
>   //WODontZipResponse = YES;
>   SOGoEASDebugEnabled = YES;
>   WOLogFile = /var/log/sogo/sogo.log;
> }
> --
>
> I followed the docs https://sogo.nu/files/docs/SOGoInstallationGuide.html and
> installed required packages by
>
> yum install sogo-activesync libwbxml
>
> Here is /etc/httpd/conf.d/SOGo.conf
> Alias /SOGo.woa/WebServerResources/ \
>   /usr/lib64/GNUstep/SOGo/WebServerResources/
> Alias /SOGo/WebServerResources/ \
>   /usr/lib64/GNUstep/SOGo/WebServerResources/
>
> 
> AllowOverride None
>
> 
> Order deny,allow
> Allow from all
> 
> = 2.4>
> Require all granted
> 
>
> 
>   ExpiresActive On
>   ExpiresDefault "access plus 1 year"
> 
> 
>
>
> ProxyRequests Off
> SetEnv proxy-nokeepalive 1
> ProxyPreserveHost On
>
>
>
> ProxyPass /Microsoft-Server-ActiveSync \
>  http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync \
>  retry=60 connectiontimeout=5 timeout=3600
>
> ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
>
> http://127.0.0.1:2/SOGo>
> 
>   RequestHeader set "x-webobjects-server-port" "80"
>   SetEnvIf Host (.*) HTTP_HOST=$1
>   RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e"
> env=HTTP_HOST
>   RequestHeader set "x-webobjects-server-url" "http://%{HTTP_HOST}e";
> env=HTTP_HOST
>
>   RequestHeader unset "x-webobjects-remote-user"
>
>   RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
> 
>
>   AddDefaultCharset UTF-8
>
>   Order allow,deny
>   Allow from all
> 
>
> 
>   Re