Koozali.org: home of the SME Server

SOGo and mobile devices ?

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #15 on: March 18, 2014, 03:47:48 PM »
It seems confirmed a mismatch in nethsme repo.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #16 on: March 18, 2014, 03:51:51 PM »
And now fixed.
before testing, clean your yum cache:
Quote
yum clean metadata; yum clean all
Please add a [Solved] tag in the subject.

Nicola
« Last Edit: March 18, 2014, 06:14:28 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #17 on: March 19, 2014, 12:48:17 PM »
yes that sorted my web browser access thankyou. But now im onto testing our windows phone access. You say that we cant get activesync to work on sme

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #18 on: March 19, 2014, 01:29:38 PM »
It seem that there is some news in recent releases of SOGo: http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf take a look at page 47. According to this there's no need of Funambol Server; obviously only ActiveSync is supported.
Quote
yum install sogo-activesync libwbxml --enablerepo=sogo
This should allow You to install.
Manage configuration changes via custom-templates
I can't give great help to You because I only manage Apple & Droid devices.
Take a look on it and share with us your experience.

Nicola

Addendum: it seems they have integrated a "Z-Push" project that was on GitHub (now disappeared); apart from the manual quoted above the Client wiki on sogo.nu and manual are a bit confusing and not up-to-date about client config.
« Last Edit: March 19, 2014, 04:14:14 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #19 on: March 19, 2014, 08:42:49 PM »
id already installed the above but found i needed a proxypass entry in httpd ie here

Quote
To enable it, simply add the following line to your Apache configuration:

ProxyPass /Microsoft-Server-ActiveSync http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync retry=0

You'll also have to make sure you run the latest SOPE packages, and you install the "sogo-activesync" package.

If you want email synchronization to work properly, your IMAP server must have the UIDPLUS, SORT and QRESYNC extensions enabled.
from

https://lists.inverse.ca/sogo/arc/users/2014-02/msg00033.html

but i get
Quote
An error occurred during object publishing

reason for HTTP error unknown
when i browse to the url?

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #20 on: March 19, 2014, 09:18:29 PM »
plus i should add the phone errors

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #21 on: March 19, 2014, 11:15:56 PM »
For me on Samsung Duo GT-S7562 - Android 4.0.4 - ActiveSync is working fine.
Consider that you must intall the ActiveSync option:
Quote
yum install sogo-activesync libwbxml --enablerepo=sogo
then copy from:
Quote
/etc/e-smith/templates/etc/httpd/conf/httpd.conf
to
Quote
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
the file named:
Quote
85SOGoAccess
that must contain:
Quote
# SOGo Groupware
SetEnvIf Host (.*) REQUEST_HOST=$1
ProxyPass /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo
ProxyPass /Microsoft-Server-ActiveSync http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync retry=60 connectiontimeout=5 timeout=360
ProxyPassReverse /SOGo http://127.0.0.1:{$sogod{'TCPPort'}}/SOGo

<Location /SOGo>
        order deny,allow
        deny from all
        allow from all
        SSLRequireSSL on
        RequestHeader set "x-webobjects-server-url"  "https://%\{REQUEST_HOST\}e/SOGo"
</Location>

Alias /.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

<Directory "/usr/lib/GNUstep/SOGo/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
Then you can reboot with:
Quote
signal-event post-upgrade; signal-event reboot
I've configured my Droid in a way similar to http://kb.kerio.com/product/kerio-connect/email-clients/activesync/how-to-configure-exchange-active-sync-account-on-android-device-883.html
I've configured only calendar syncs and sync is fine. I've not "played" with the various sync config parameters.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #22 on: March 20, 2014, 06:46:42 PM »
I have uninstalled and started again using the above info. This has changed as I now see a 500 error when using a browser to connect to the activesync url.
But alas phone is not working. It must however be close as I have no errors in http error logs and this in the sogo logs

Quote
2014-03-20 17:36:08.732 sogod[3024] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='MSFT-WP/8.0.10517'
82.132.238.126 - - [20/Mar/2014:17:36:08 GMT] "OPTIONS /SOGo/Microsoft-Server-ActiveSync?User=james.wilson&DeviceId=34F7B4D7D7007DE93660A1225CA5C624&DeviceType=WP8 HTTP/1.1" 200 0/0 0.002 - - 0
81.143.33.105 - - [20/Mar/2014:17:36:08 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?jREJCBA097TX1wB96TZgoSJcpcYkBAAAAAADV1A4 HTTP/1.1" 200 19/11 0.002 - - 0
81.143.33.105 - - [20/Mar/2014:17:36:09 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?jQkJCBA097TX1wB96TZgoSJcpcYkBAAAAAADV1A4 HTTP/1.1" 200 1089/13 0.222 - - 0
Which to me seems its trying but the phone has
Error code 85002012

which seems to talk about missing folders / names its expecting. I have tried disabling email and just syncing calendar but no go.
but if email is not syncing get error 80072ef3?

Not sure where to look now as from the logs with no errors its seems its ok?

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #23 on: March 20, 2014, 11:04:31 PM »
If you try to connect via Browser to http://your-sme-ip-or-host/Microsoft-Server-ActiveSync you must get this error:
Quote
An error occurred during object publishing
reason for HTTP error unknown
This is "regular" beacuse you try to connect with a service not browser-oriented. But also indicates that the ActiveSync is up and running.
Just to summarize:
1) Is Your SOGo now fully working (you can access https://your-sme-ip-or-host/SOGo, manage mail and calendar ecc...) ?
2) Are You connecting your phones following the directions in given in my previous link (for Droid but general enough) or this https://digital-crocus.com/kb/50_setting_up_activesync_on_your_windows_mobile_based_mobile_phone_or_pocket_pc.html ?
2bis) In the "server" field in your phone you must put an hostname or ip not an http link.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #24 on: March 20, 2014, 11:40:32 PM »
1. Yes fully working via browser for normal sogo access.
2. Yes

« Last Edit: March 20, 2014, 11:48:33 PM by jameswilson »

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #25 on: March 20, 2014, 11:48:19 PM »
double post

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #26 on: March 21, 2014, 12:53:47 AM »
update.
Just testing on an old android device. email syncing perfect. Seems its a windows phone 8 issue i guess.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #27 on: March 21, 2014, 01:45:53 AM »
reading more about sogo and this openchnage thing that is required for outlook, plus the activesync issues im wondering if id be better off with zafara?

Offline nicolatiana

  • *
  • 721
  • +0/-0
Re: SOGo and mobile devices ?
« Reply #28 on: March 21, 2014, 10:34:49 AM »
Sorry, no field experience with Zarafa: I discarded it after realizing that all mail were migrated inside a DB. Too invasive for me.
Consider to dig in the SOGo bug tracker/forum (eventually subscribe and submit it as a bug) to see if anyone is experiencing your same problem: this connector is a new feature and I can't exclude some "youth" problem.
Any update available for the phone ? Did you dig in some Windows Phone Specific forum ? Maybe You might discover that the problem affects also connections to M$ Exchange.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: SOGo and mobile devices ?
« Reply #29 on: March 21, 2014, 11:28:19 AM »
Reading the sogo mailing lists yes it appears active sync connector is not quite 100% yet. As there are updates on the nightly builds.
No updates for my phone but I also have another active sync account (win 2k3 sbs) with no issues. PLus as the droid activesync sort of works makes me think its not 100% the phone.

Reakon ill keep an eye out for updates on sogo as they release 2.2.2.

Thank you so much for all your help.

James