General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Problems with ActiveSync


Chronological Thread 
  • From: "Igor Almeida" ( ) < >
  • To:
  • Subject: [SOGo] Problems with ActiveSync
  • Date: Tue, 15 May 2018 13:16:32 -0700
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 190A710EA46F

Hi guys,
I’m new here.
I’ve been using SOGo for a while now and I was just trying to configure it so
I could access it as an ActiveSync Server but it doesn’t complete the login
from my phone or Outlook 2016 in my computer.

The only message on the log is:
May 15 13:04:07 sogod [814]: my_ip "GET /SOGo/Microsoft-Server-ActiveSync
HTTP/1.0" 200 0/0 0.001 - - 0

If I intentionally give a wrong password, I get this:
May 15 12:53:52 sogod [814]: <0x0x55ad7e5e10d0[SOGoDAVAuthenticator]> tried
wrong password for user ‘blahblah’!

I have no idea what could be wrong, I would really appreciate some help. I
just updated to latest version.

Here is my nginx conf file:
server {
listen 80;
listen [::]:80;

root /usr/lib/GNUstep/SOGo/WebServerResources/;
server_name xxxxx;
access_log xxxxxx rt_cache;
error_log xxxxxx;

#
# Add lines below for SOGo
#
location ~ ^/sogo { rewrite ^ https://$host/SOGo; }
location ~ ^/SOGO { rewrite ^ https://$host/SOGo; }

# For IOS 7
rewrite ^/.well-known/caldav /SOGo/dav permanent;
rewrite ^/.well-known/carddav /SOGo/dav permanent;
rewrite ^/principals /SOGo/dav permanent;
rewrite ^/calendars /SOGo/dav permanent;
rewrite ^/contacts /SOGo/dav permanent;

location = / {
return 301 /SOGo;
}

location ^~ /.well-known/acme-challenge {
default_type text/plain;
root /var/www/mail.mahost.ca/htdocs;
try_files $uri /$1;
}

location ^~ /SOGo {
proxy_pass http://127.0.0.1:20000;

# forward user's IP address
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;

proxy_set_header x-webobjects-server-port 443;
proxy_set_header x-webobjects-server-name $host;
proxy_set_header x-webobjects-server-url $scheme://$host;

proxy_set_header x-webobjects-server-protocol HTTP/2.0;
}

location ^~ /Microsoft-Server-ActiveSync {
proxy_pass
http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
proxy_redirect
http://127.0.0.1:20000/SOGoMicrosoft-Server-ActiveSync /;
proxy_connect_timeout 75;
proxy_send_timeout 3540;
proxy_read_timeout 3540;
proxy_buffers 64 256k;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

}

# location ^~ /SOGo/Microsoft-Server-ActiveSync {
# proxy_pass
http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
# proxy_redirect
http://127.0.0.1:20000/SOGoMicrosoft-Server-ActiveSync /;
# proxy_connect_timeout 75;
# proxy_send_timeout 3540;
# proxy_read_timeout 3540;
# proxy_buffers 64 256k;
# }

location /SOGo.woa/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
}
location /SOGo/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
}
location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
}
}

And this is my sogo.conf:
{
// Daemon address and port
WOPort = 127.0.0.1:20000;

WOWorkersCount = 10;


SOGoMaximumPingInterval = 3540;


SOGoMaximumSyncInterval = 3540;


SOGoInternalSyncInterval = 30;


WOWatchDogRequestTimeout = 60;


SOGoMaximumSyncWindowSize = 100;


SOGoMaximumSyncResponseSize = 2048;


SOGoProfileURL =
"mysql://sogo:RAMUicCs@localhost:3306/sogo/sogo_user_profile";
OCSFolderInfoURL =
"mysql://sogo:RAMUicCs@localhost:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://sogo:RAMUicCs@localhost:3306/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL =
"mysql://sogo:RAMUicCs@localhost:3306/sogo/sogo_alarms_folder";

/* Mail */
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = localhost;
SOGoSieveServer = sieve://localhost:4190;
SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = mahost.ca;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = YES;
SOGoMailCustomFromEnabled = YES;
SOGoEnableEMailAlarms = YES;
//SOGoMailSpoolPath = /var/spool/sogo;
NGImap4ConnectionStringSeparator = ".";

/* Notifications */
SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoEnableEMailAlarms = YES;

/* Authentication */
SOGoPasswordChangeEnabled = YES;


SOGoUserSources =
(
{
type = sql;
id = users;
viewURL =
"mysql://vimbadmin:RAMUicCs@localhost:3306/vimbadmin/sogo_view";
canAuthenticate = YES;
isAddressBook = YES;
displayName = "Domain Address Book";
SOGoEnableDomainBasedUID = YES;
userPasswordAlgorithm = md5;
}
);

/* Web Interface */
SOGoPageTitle = mahost.ca;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
//SOGoMailAuxiliaryUserAccountsEnabled = YES;
//SOGoTrustProxyAuthentication = NO;
//SOGoXSRFValidationEnabled = YES;

/* General */
SOGoLanguage = English;
SOGoTimeZone = America/Vancouver;
SOGoLoginModule = Mail;
//SOGoCalendarDefaultRoles = (
// PublicDAndTViewer,
// ConfidentialDAndTViewer
//);
//SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the
parens!
//SxVMemLimit = 384;
//WOPidFile = "/var/run/sogo/sogo.pid";
//SOGoMemcachedHost = "/var/run/memcached.sock";

/* Debug */
//SOGoDebugRequests = YES;
//SoDebugBaseURL = YES;
//ImapDebugEnabled = YES;
//LDAPDebugEnabled = YES;
//PGDebugEnabled = YES;
//MySQL4DebugEnabled = YES;
//SOGoUIxDebugEnabled = YES;
//WODontZipResponse = YES;
//WOLogFile = /var/log/sogo/sogo.log;
}


Thank you so much in advance,
Igor Almeida


Archive powered by MHonArc 2.6.18.

Top of page