Re: [SOGo] Php-push2 - Active Sync

2013-09-03 Thread Corrado Fiore
Hi Marcio,

 If I set 'BackendCombined' it complains about php-mapi missing and apache 
 throws a 500 error. How did you manage it? 

In the /backend/combined/config.php file you should find the 
GetBackendCombinedConfig() function and comment out the lines that refer to 
backends other than IMAP, CardDAV and CalDAV:

'backends' = array(
'i' = array(
'name' = 'BackendIMAP',
),
//'z' = array(
//'name' = 'BackendZarafa',
//),
//'m' = array(
//'name' = 'BackendMaildir',
//),
//'v' = array(
//'name' = 'BackendVCardDir',
//),
'c' = array(
'name' = 'BackendCalDAV',
),
//'l' = array(
//'name' = 'BackendLDAP',
//),
'd' = array(
'name' = 'BackendCardDAV',
),
),
'delimiter' = '/',

---

Then you should select the right backend for each function:


//force one type of folder to one backend
//it must match one of the above defined backends
'folderbackend' = array(
SYNC_FOLDER_TYPE_INBOX = 'i',
SYNC_FOLDER_TYPE_DRAFTS = 'i',
SYNC_FOLDER_TYPE_WASTEBASKET = 'i',
SYNC_FOLDER_TYPE_SENTMAIL = 'i',
SYNC_FOLDER_TYPE_OUTBOX = 'i',
SYNC_FOLDER_TYPE_TASK = 'c',
SYNC_FOLDER_TYPE_APPOINTMENT = 'c',
SYNC_FOLDER_TYPE_CONTACT = 'd',
SYNC_FOLDER_TYPE_NOTE = 'i',
SYNC_FOLDER_TYPE_JOURNAL = 'i',
SYNC_FOLDER_TYPE_OTHER = 'i',
SYNC_FOLDER_TYPE_USER_MAIL = 'i',
SYNC_FOLDER_TYPE_USER_APPOINTMENT = 'c',
SYNC_FOLDER_TYPE_USER_CONTACT = 'd',
SYNC_FOLDER_TYPE_USER_TASK = 'c',
SYNC_FOLDER_TYPE_USER_JOURNAL = 'i',
SYNC_FOLDER_TYPE_USER_NOTE = 'i',
SYNC_FOLDER_TYPE_UNKNOWN = 'i',
),
//creating a new folder in the root folder should create a folder 
in one backend
'rootcreatefolderbackend' = 'i',



I agree that the filesystem layout in PHP-push-2 is quite confusing, as there 
are multiple config files scattered around and they also have similar names.  
My advice is to install the latest PHP-Push-Contrib 
(https://github.com/fmbiete/Z-Push-contrib/), which is a fork of the original 
PHP-Push, too, but thanks to the effort of the developer is working quite well 
with our SOGo installation.

Don't forget to set CARDDAV_SUPPORTS_SYNC = false in 
/backend/carddav/config.php, otherwise the addressbook won't work with a SOGo 
backend.

Hope this helps.

Best,
Corrado Fiore



smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Marcio Merlone

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Szládovics Péter

2013-09-02 14:05 keltezéssel, Marcio Merlone írta:

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


Follow the readme - and I didn't have any error.

If you got the HTTP500, it maybe cause an error in the .php script - eg. 
missing ; or  or ) or any other.

When you get this error, then see the apache error logs.
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-09-02 Thread Marcio Merlone

Em 02-09-2013 10:10, Szládovics Péter escreveu:

2013-09-02 14:05 keltezéssel, Marcio Merlone írta:

Em 30-08-2013 16:42, Szládovics Péter escreveu:
I followed the documentation and use the activesync settings. I saw 
it: BackendCombined.
If I set 'BackendCombined' it complains about php-mapi missing and 
apache throws a 500 error. How did you manage it?


Follow the readme - and I didn't have any error.

Followed INSTALL ;)
I think docs are confusing, focused on Zarafa and not a stand alone 
install. And two identical config files are confusing too.


If you got the HTTP500, it maybe cause an error in the .php script - 
eg. missing ; or  or ) or any other.

When you get this error, then see the apache error logs.
Not at all. It just happens when using BackendCombined and then 
error_log complains about missing php-mapi extension, which you said you 
don't have. If I set BackendImap then it works, just for mails and not 
calendar and contacts. Besides config.php, any other file should be 
tuned? BTW, which one you use: config.php, config.inc.php or both?


--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-08-30 Thread Marcio Merlone

Em 17-04-2013 09:12, Fabio Onorini escreveu:

PHP2-push does not use php-MAPI libraries.
Only the project ZPUSH of Zarafa need it.


Greetings,

Sorry to resurrect such old thread :)

I am setting php-push on a Ubuntu server to work with my SOGo server, 
*without* zarafa and stumped on a problem:


- If I set define('BACKEND_PROVIDER', BackendCombined); then it 
complains about missing php-mapi, which I could not find for Ubuntu 12.04.
- If I set define('BACKEND_PROVIDER', BackendIMAP); then it only works 
for mail and not calendar and contacts, even though their respective 
backends are set accordingly.


The question: is there how to sync mail+contacts+calendar from SOGo 
_without_ zarafa and php-mapi?


Would also like to mention that having two extremely similar config 
files is very confusing, documentation does not help much and there is 
no mention on docs or config files about BackendCombined. Found about it 
googling.


Best regards.


--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-08-30 Thread Szládovics Péter

2013-08-30 19:57 keltezéssel, Marcio Merlone írta:

Em 17-04-2013 09:12, Fabio Onorini escreveu:

PHP2-push does not use php-MAPI libraries.
Only the project ZPUSH of Zarafa need it.


Greetings,

Sorry to resurrect such old thread :)

I am setting php-push on a Ubuntu server to work with my SOGo server, 
*without* zarafa and stumped on a problem:


- If I set define('BACKEND_PROVIDER', BackendCombined); then it 
complains about missing php-mapi, which I could not find for Ubuntu 12.04.
- If I set define('BACKEND_PROVIDER', BackendIMAP); then it only 
works for mail and not calendar and contacts, even though their 
respective backends are set accordingly.


The question: is there how to sync mail+contacts+calendar from SOGo 
_without_ zarafa and php-mapi?


Would also like to mention that having two extremely similar config 
files is very confusing, documentation does not help much and there is 
no mention on docs or config files about BackendCombined. Found about 
it googling.


Dear Marcio,

I use this:
git clone https://github.com/dupondje/PHP-Push-2.git;

And I have the folloving php modules on Ubuntu 12.04:
php-mail
php-mail-mime
php-mail-mimedecode
php-net-smtp
php-net-socket
php-xml-parser
php5-curl
php5-dev
php5-gd
php5-imap
php5-intl
php5-ldap
php5-mcrypt
php5-mysql
php5-sqlite

I no have any problem.
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-08-30 Thread Marcio Merlone

Em 30-08-2013 15:18, Szládovics Péter escreveu:

2013-08-30 19:57 keltezéssel, Marcio Merlone írta:

Em 17-04-2013 09:12, Fabio Onorini escreveu:

PHP2-push does not use php-MAPI libraries.
Only the project ZPUSH of Zarafa need it.
I am setting php-push on a Ubuntu server to work with my SOGo server, 
*without* zarafa and stumped on a problem:


- If I set define('BACKEND_PROVIDER', BackendCombined); then it 
complains about missing php-mapi, which I could not find for Ubuntu 
12.04.
- If I set define('BACKEND_PROVIDER', BackendIMAP); then it only 
works for mail and not calendar and contacts, even though their 
respective backends are set accordingly.


The question: is there how to sync mail+contacts+calendar from SOGo 
_without_ zarafa and php-mapi?

I use this:
git clone https://github.com/dupondje/PHP-Push-2.git;

And I have the folloving php modules on Ubuntu 12.04:
(...)
I no have any problem.


Which BackendXxxx do you use? Does it syncs calendar and contacts too?

--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Php-push2 - Active Sync

2013-08-30 Thread Szládovics Péter

2013-08-30 20:24 keltezéssel, Marcio Merlone írta:

Em 30-08-2013 15:18, Szládovics Péter escreveu:

2013-08-30 19:57 keltezéssel, Marcio Merlone írta:

Em 17-04-2013 09:12, Fabio Onorini escreveu:

PHP2-push does not use php-MAPI libraries.
Only the project ZPUSH of Zarafa need it.
I am setting php-push on a Ubuntu server to work with my SOGo 
server, *without* zarafa and stumped on a problem:


- If I set define('BACKEND_PROVIDER', BackendCombined); then it 
complains about missing php-mapi, which I could not find for Ubuntu 
12.04.
- If I set define('BACKEND_PROVIDER', BackendIMAP); then it only 
works for mail and not calendar and contacts, even though their 
respective backends are set accordingly.


The question: is there how to sync mail+contacts+calendar from SOGo 
_without_ zarafa and php-mapi?

I use this:
git clone https://github.com/dupondje/PHP-Push-2.git;

And I have the folloving php modules on Ubuntu 12.04:
(...)
I no have any problem.


Which BackendXxxx do you use? Does it syncs calendar and contacts too?


I followed the documentation and use the activesync settings. I saw it: 
BackendCombined.

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-19 Thread Fabio Onorini
ZPUSH base on 3 combined backends:
- Imap - supplied by tour imap server dovecot/cyrus
- Calddav - supplied by sogo
- CardDAV - supplied by sogo

My suggestion is to change log level to DEBUG to know where is
authentication problem.


2013/4/18 Andy Tuinman andytuinm...@gmail.com

 Can someone pls send me a copy of their www folder of php-push2 or maybe
 the config files?
 Op 18 apr. 2013 16:40 schreef Martin Rabl martin.r...@rablnet.de het
 volgende:

 Am 18.04.2013 16:07, schrieb Andy Tuinman:
  Ok but doen't php-push2 needs to authenticate
  against samba4 i never
  told php-push to authenticate and my logins are
  incorrect if i enter them in php-push2

 Php-push2 authenticates against SOGo.
 SOGo IMHO can authenticate against Samba4, if you use their built in
 AD/LDAP server.

 --
 Greetings,

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




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

Re: [SOGo] Php-push2 - Active Sync

2013-04-18 Thread Fabio Onorini
My server authenticate only on samba4.
OpenLdap isn't installed.


2013/4/18 Andy Tuinman andytuinm...@gmail.com

 ok disregard my last post.
 i got it working but cannot login. you are probably using openldap and i
 only use samba4. is there a possibility that it can authenticate against
 samba4?
 do you know this?



 On Thu, Apr 18, 2013 at 1:39 AM, Andy Tuinman andytuinm...@gmail.comwrote:

 don't know how but i can't connect to the website if i connect to https
 chrome say ssl protocol error and ie just says this page cannot be viewed.
 so something with a protocol error?? oh and i did enable all ssl and tls in
 ie but still no luck. any ideas ?


 On Wed, Apr 17, 2013 at 5:30 PM, Fabio Onorini onofa...@gmail.comwrote:



 -- Forwarded message --
 From: Fabio Onorini onofa...@gmail.com
 Date: 2013/4/17
 Subject: Re: [SOGo] Php-push2 - Active Sync
 To: Davide Bozzelli bu...@olografix.org


 1) From sogosync project page:

 Sogosync and PHP-Push-2 has merge.
 https://github.com/dupondje/PHP-Push-2 Please use this new repository
 to submit patch and issue.

 2) stable... i don't know, I'm only user not project developer


 2013/4/17 Davide Bozzelli bu...@olografix.org

 Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

 Official project page:

 https://github.com/dupondje/**PHP-Push-2https://github.com/dupondje/PHP-Push-2


  I would like to understand if this project is:

 1) supposed to replace the sogosync project
 2) supposed to be stable

 Thx




 --
 ---
 Fabio Onorini



 --
 ---
 Fabio Onorini




 --
 Met vriendelijke groet,

 Andy Tuinman




 --
 Met vriendelijke groet,

 Andy Tuinman




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

Re: [SOGo] Php-push2 - Active Sync

2013-04-18 Thread Andy Tuinman
Ok but doen't php-push2 needs to authenticate against samba4 i never told
php-push to authenticate and my logins are incorrect if i enter them in
php-push2
Op 18 apr. 2013 11:14 schreef Fabio Onorini onofa...@gmail.com het
volgende:

 My server authenticate only on samba4.
 OpenLdap isn't installed.


 2013/4/18 Andy Tuinman andytuinm...@gmail.com

 ok disregard my last post.
 i got it working but cannot login. you are probably using openldap and i
 only use samba4. is there a possibility that it can authenticate against
 samba4?
  do you know this?



 On Thu, Apr 18, 2013 at 1:39 AM, Andy Tuinman andytuinm...@gmail.comwrote:

 don't know how but i can't connect to the website if i connect to https
 chrome say ssl protocol error and ie just says this page cannot be viewed.
 so something with a protocol error?? oh and i did enable all ssl and tls in
 ie but still no luck. any ideas ?


 On Wed, Apr 17, 2013 at 5:30 PM, Fabio Onorini onofa...@gmail.comwrote:



 -- Forwarded message --
 From: Fabio Onorini onofa...@gmail.com
 Date: 2013/4/17
 Subject: Re: [SOGo] Php-push2 - Active Sync
 To: Davide Bozzelli bu...@olografix.org


 1) From sogosync project page:

 Sogosync and PHP-Push-2 has merge.
 https://github.com/dupondje/PHP-Push-2 Please use this new repository
 to submit patch and issue.

 2) stable... i don't know, I'm only user not project developer


 2013/4/17 Davide Bozzelli bu...@olografix.org

 Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

 Official project page:

 https://github.com/dupondje/**PHP-Push-2https://github.com/dupondje/PHP-Push-2


  I would like to understand if this project is:

 1) supposed to replace the sogosync project
 2) supposed to be stable

 Thx




 --
 ---
 Fabio Onorini



 --
 ---
 Fabio Onorini




 --
 Met vriendelijke groet,

 Andy Tuinman




 --
 Met vriendelijke groet,

 Andy Tuinman




 --
 ---
 Fabio Onorini

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-18 Thread Martin Rabl

Am 18.04.2013 16:07, schrieb Andy Tuinman:
 Ok but doen't php-push2 needs to authenticate
 against samba4 i never
 told php-push to authenticate and my logins are
 incorrect if i enter them in php-push2

Php-push2 authenticates against SOGo.
SOGo IMHO can authenticate against Samba4, if you use their built in 
AD/LDAP server.


--
Greetings,

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


[SOGo] Php-push2 - Active Sync

2013-04-17 Thread Fabio Onorini
I don'know if this is correctly mailing list for this issus.

On my sogo+openchange server I'm trying  PHP-push2 project.

After some changes in configuration file, the service start correctly and I
can Add Exchange account on my devices.

Mail and calendar apps are work correctly, but I can't use the addressbook.

After some changes on backend carddav file, on IPad and IPhone can use also
contacts, but on Android (2.3.6 and 4.1) and Windows phone devices doesn't
works.

With carddav app on android I can correctly sync my contacts, but I
wouldn't use it.

Can someone help me?
Have you my same problems?

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Andy Tuinman
Can you please tell me the steps to do this i would love exchange and
calendar to work. I don't care about contacts

Thank you
Op 17 apr. 2013 10:53 schreef Fabio Onorini onofa...@gmail.com het
volgende:

 I don'know if this is correctly mailing list for this issus.

 On my sogo+openchange server I'm trying  PHP-push2 project.

 After some changes in configuration file, the service start correctly and
 I can Add Exchange account on my devices.

 Mail and calendar apps are work correctly, but I can't use the addressbook.

 After some changes on backend carddav file, on IPad and IPhone can use
 also contacts, but on Android (2.3.6 and 4.1) and Windows phone devices
 doesn't works.

 With carddav app on android I can correctly sync my contacts, but I
 wouldn't use it.

 Can someone help me?
 Have you my same problems?

 --
 ---
 Fabio Onorini

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Andy Tuinman
Thanks i just installed it.
The only problem is it can't find mapi for php and i don't know how to
install it or disable it when not needed.

Do you know ?
Op 17 apr. 2013 12:01 schreef Fabio Onorini onofa...@gmail.com het
volgende:

 Follow instruction on INSTALL of project.

 Edit file config.php, my CALDAV section is:

 // **
 // BackendCalDAV settings
 // **
 // %u is replaced by the username
 // Using HTTPS URL is recommended
 define('CALDAV_SERVER', 'https://MYSERVERHOSTNAME');
 define('CALDAV_PORT', '443');
 define('CALDAV_PATH', '/SOGo/dav/%u/Calendar/');
 define('CALDAV_PERSONAL', 'personal');
 define('CALDAV_URL', 'https://MYSERVERHOSTNAME/SOGo/dav/%u/Calendar/');
 // Will ignore any change made on the mobile (true|false)
 define('CALDAV_READONLY', false);


 Edit backend/caldav.php, and replace row (in Logon function):

 $this-_caldav = new CalDAVClient(CALDAV_SERVER . : . CALDAV_PORT .
 $this-_caldav_path, $username, $password);

 with:
 $url = str_replace('%u', $username, CALDAV_URL);
 $this-_caldav = new CalDAVClient($url, $username, $password);


 bye bye



 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Can you please tell me the steps to do this i would love exchange and
 calendar to work. I don't care about contacts

 Thank you
 Op 17 apr. 2013 10:53 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 I don'know if this is correctly mailing list for this issus.

 On my sogo+openchange server I'm trying  PHP-push2 project.

 After some changes in configuration file, the service start correctly
 and I can Add Exchange account on my devices.

 Mail and calendar apps are work correctly, but I can't use the
 addressbook.

 After some changes on backend carddav file, on IPad and IPhone can use
 also contacts, but on Android (2.3.6 and 4.1) and Windows phone devices
 doesn't works.

 With carddav app on android I can correctly sync my contacts, but I
 wouldn't use it.

 Can someone help me?
 Have you my same problems?

 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Fabio Onorini
PHP2-push does not use php-MAPI libraries.
Only the project ZPUSH of Zarafa need it.


2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Thanks i just installed it.
 The only problem is it can't find mapi for php and i don't know how to
 install it or disable it when not needed.

 Do you know ?
 Op 17 apr. 2013 12:01 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 Follow instruction on INSTALL of project.

 Edit file config.php, my CALDAV section is:

 // **
 // BackendCalDAV settings
 // **
 // %u is replaced by the username
 // Using HTTPS URL is recommended
 define('CALDAV_SERVER', 'https://MYSERVERHOSTNAME');
 define('CALDAV_PORT', '443');
 define('CALDAV_PATH', '/SOGo/dav/%u/Calendar/');
 define('CALDAV_PERSONAL', 'personal');
 define('CALDAV_URL', 'https://MYSERVERHOSTNAME/SOGo/dav/%u/Calendar/');
 // Will ignore any change made on the mobile (true|false)
 define('CALDAV_READONLY', false);


 Edit backend/caldav.php, and replace row (in Logon function):

 $this-_caldav = new CalDAVClient(CALDAV_SERVER . : . CALDAV_PORT .
 $this-_caldav_path, $username, $password);

 with:
 $url = str_replace('%u', $username, CALDAV_URL);
 $this-_caldav = new CalDAVClient($url, $username, $password);


 bye bye



 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Can you please tell me the steps to do this i would love exchange and
 calendar to work. I don't care about contacts

 Thank you
 Op 17 apr. 2013 10:53 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 I don'know if this is correctly mailing list for this issus.

 On my sogo+openchange server I'm trying  PHP-push2 project.

 After some changes in configuration file, the service start correctly
 and I can Add Exchange account on my devices.

 Mail and calendar apps are work correctly, but I can't use the
 addressbook.

 After some changes on backend carddav file, on IPad and IPhone can use
 also contacts, but on Android (2.3.6 and 4.1) and Windows phone devices
 doesn't works.

 With carddav app on android I can correctly sync my contacts, but I
 wouldn't use it.

 Can someone help me?
 Have you my same problems?

 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini




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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Andy Tuinman
It keeps asking for php-mapi and i don't know how to disable it. Maybe i
don't have the right php-push2 do you have a link with the right one or do
you know how to disable it so it doesn't ask for it ?
Op 17 apr. 2013 14:13 schreef Fabio Onorini onofa...@gmail.com het
volgende:

 PHP2-push does not use php-MAPI libraries.
 Only the project ZPUSH of Zarafa need it.


 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Thanks i just installed it.
 The only problem is it can't find mapi for php and i don't know how to
 install it or disable it when not needed.

 Do you know ?
 Op 17 apr. 2013 12:01 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 Follow instruction on INSTALL of project.

 Edit file config.php, my CALDAV section is:

 // **
 // BackendCalDAV settings
 // **
 // %u is replaced by the username
 // Using HTTPS URL is recommended
 define('CALDAV_SERVER', 'https://MYSERVERHOSTNAME');
 define('CALDAV_PORT', '443');
 define('CALDAV_PATH', '/SOGo/dav/%u/Calendar/');
 define('CALDAV_PERSONAL', 'personal');
 define('CALDAV_URL', 'https://MYSERVERHOSTNAME/SOGo/dav/%u/Calendar/');
 // Will ignore any change made on the mobile (true|false)
 define('CALDAV_READONLY', false);


 Edit backend/caldav.php, and replace row (in Logon function):

 $this-_caldav = new CalDAVClient(CALDAV_SERVER . : . CALDAV_PORT .
 $this-_caldav_path, $username, $password);

 with:
 $url = str_replace('%u', $username, CALDAV_URL);
 $this-_caldav = new CalDAVClient($url, $username, $password);


 bye bye



 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Can you please tell me the steps to do this i would love exchange and
 calendar to work. I don't care about contacts

 Thank you
 Op 17 apr. 2013 10:53 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 I don'know if this is correctly mailing list for this issus.

 On my sogo+openchange server I'm trying  PHP-push2 project.

 After some changes in configuration file, the service start correctly
 and I can Add Exchange account on my devices.

 Mail and calendar apps are work correctly, but I can't use the
 addressbook.

 After some changes on backend carddav file, on IPad and IPhone can use
 also contacts, but on Android (2.3.6 and 4.1) and Windows phone devices
 doesn't works.

 With carddav app on android I can correctly sync my contacts, but I
 wouldn't use it.

 Can someone help me?
 Have you my same problems?

 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Fabio Onorini
Official project page:

https://github.com/dupondje/PHP-Push-2


2013/4/17 Andy Tuinman andytuinm...@gmail.com

 It keeps asking for php-mapi and i don't know how to disable it. Maybe i
 don't have the right php-push2 do you have a link with the right one or do
 you know how to disable it so it doesn't ask for it ?
 Op 17 apr. 2013 14:13 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 PHP2-push does not use php-MAPI libraries.
 Only the project ZPUSH of Zarafa need it.


 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Thanks i just installed it.
 The only problem is it can't find mapi for php and i don't know how to
 install it or disable it when not needed.

 Do you know ?
 Op 17 apr. 2013 12:01 schreef Fabio Onorini onofa...@gmail.com het
 volgende:

 Follow instruction on INSTALL of project.

 Edit file config.php, my CALDAV section is:

 // **
 // BackendCalDAV settings
 // **
 // %u is replaced by the username
 // Using HTTPS URL is recommended
 define('CALDAV_SERVER', 'https://MYSERVERHOSTNAME');
 define('CALDAV_PORT', '443');
 define('CALDAV_PATH', '/SOGo/dav/%u/Calendar/');
 define('CALDAV_PERSONAL', 'personal');
 define('CALDAV_URL', 'https://MYSERVERHOSTNAME/SOGo/dav/%u/Calendar/');
 // Will ignore any change made on the mobile (true|false)
 define('CALDAV_READONLY', false);


 Edit backend/caldav.php, and replace row (in Logon function):

 $this-_caldav = new CalDAVClient(CALDAV_SERVER . : . CALDAV_PORT .
 $this-_caldav_path, $username, $password);

 with:
 $url = str_replace('%u', $username, CALDAV_URL);
 $this-_caldav = new CalDAVClient($url, $username, $password);


 bye bye



 2013/4/17 Andy Tuinman andytuinm...@gmail.com

 Can you please tell me the steps to do this i would love exchange and
 calendar to work. I don't care about contacts

 Thank you
 Op 17 apr. 2013 10:53 schreef Fabio Onorini onofa...@gmail.com
 het volgende:

 I don'know if this is correctly mailing list for this issus.

 On my sogo+openchange server I'm trying  PHP-push2 project.

 After some changes in configuration file, the service start correctly
 and I can Add Exchange account on my devices.

 Mail and calendar apps are work correctly, but I can't use the
 addressbook.

 After some changes on backend carddav file, on IPad and IPhone can
 use also contacts, but on Android (2.3.6 and 4.1) and Windows phone 
 devices
 doesn't works.

 With carddav app on android I can correctly sync my contacts, but I
 wouldn't use it.

 Can someone help me?
 Have you my same problems?

 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini




 --
 ---
 Fabio Onorini




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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Davide Bozzelli

Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

Official project page:

https://github.com/dupondje/PHP-Push-2



I would like to understand if this project is:

1) supposed to replace the sogosync project
2) supposed to be stable

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


Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Martin Rabl


Am 17.04.2013 17:11, schrieb Davide Bozzelli:

Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

https://github.com/dupondje/PHP-Push-2

1) supposed to replace the sogosync project
2) supposed to be stable


The code of sogosync was merged into PHP-Push.
Look on the page of sogosync.
Using of PHP-Push instead of sogosync is IMHO recommended.

Stable ... what means stable? ;-)

In our environment it does run with iOS from 4.2 to 6, with Android 
... ehm ...


--
Greetings,

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


Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Davide Bozzelli

Il 4/17/13 5:20 PM, Martin Rabl ha scritto:


Am 17.04.2013 17:11, schrieb Davide Bozzelli:

Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

https://github.com/dupondje/PHP-Push-2

1) supposed to replace the sogosync project
2) supposed to be stable


The code of sogosync was merged into PHP-Push.
Look on the page of sogosync.
Using of PHP-Push instead of sogosync is IMHO recommended.

Stable ... what means stable? ;-)




I've tested sogosync and worked only with iphone.
Tested PHP-Push and does not work at all (both iosandroid)

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


Fwd: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Fabio Onorini
-- Forwarded message --
From: Fabio Onorini onofa...@gmail.com
Date: 2013/4/17
Subject: Re: [SOGo] Php-push2 - Active Sync
To: Davide Bozzelli bu...@olografix.org


1) From sogosync project page:

Sogosync and PHP-Push-2 has merge.
https://github.com/dupondje/PHP-Push-2 Please
use this new repository to submit patch and issue.

2) stable... i don't know, I'm only user not project developer


2013/4/17 Davide Bozzelli bu...@olografix.org

 Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

 Official project page:

 https://github.com/dupondje/**PHP-Push-2https://github.com/dupondje/PHP-Push-2


  I would like to understand if this project is:

 1) supposed to replace the sogosync project
 2) supposed to be stable

 Thx




-- 
---
Fabio Onorini



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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Andy Tuinman
don't know how but i can't connect to the website if i connect to https
chrome say ssl protocol error and ie just says this page cannot be viewed.
so something with a protocol error?? oh and i did enable all ssl and tls in
ie but still no luck. any ideas ?


On Wed, Apr 17, 2013 at 5:30 PM, Fabio Onorini onofa...@gmail.com wrote:



 -- Forwarded message --
 From: Fabio Onorini onofa...@gmail.com
 Date: 2013/4/17
 Subject: Re: [SOGo] Php-push2 - Active Sync
 To: Davide Bozzelli bu...@olografix.org


 1) From sogosync project page:

 Sogosync and PHP-Push-2 has merge. https://github.com/dupondje/PHP-Push-2 
 Please
 use this new repository to submit patch and issue.

 2) stable... i don't know, I'm only user not project developer


 2013/4/17 Davide Bozzelli bu...@olografix.org

 Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

 Official project page:

 https://github.com/dupondje/**PHP-Push-2https://github.com/dupondje/PHP-Push-2


  I would like to understand if this project is:

 1) supposed to replace the sogosync project
 2) supposed to be stable

 Thx




 --
 ---
 Fabio Onorini



 --
 ---
 Fabio Onorini




-- 
Met vriendelijke groet,

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

Re: [SOGo] Php-push2 - Active Sync

2013-04-17 Thread Andy Tuinman
ok disregard my last post.
i got it working but cannot login. you are probably using openldap and i
only use samba4. is there a possibility that it can authenticate against
samba4?
do you know this?



On Thu, Apr 18, 2013 at 1:39 AM, Andy Tuinman andytuinm...@gmail.comwrote:

 don't know how but i can't connect to the website if i connect to https
 chrome say ssl protocol error and ie just says this page cannot be viewed.
 so something with a protocol error?? oh and i did enable all ssl and tls in
 ie but still no luck. any ideas ?


 On Wed, Apr 17, 2013 at 5:30 PM, Fabio Onorini onofa...@gmail.com wrote:



 -- Forwarded message --
 From: Fabio Onorini onofa...@gmail.com
 Date: 2013/4/17
 Subject: Re: [SOGo] Php-push2 - Active Sync
 To: Davide Bozzelli bu...@olografix.org


 1) From sogosync project page:

 Sogosync and PHP-Push-2 has merge.
 https://github.com/dupondje/PHP-Push-2 Please use this new repository to
 submit patch and issue.

 2) stable... i don't know, I'm only user not project developer


 2013/4/17 Davide Bozzelli bu...@olografix.org

 Il 4/17/13 5:08 PM, Fabio Onorini ha scritto:

 Official project page:

 https://github.com/dupondje/**PHP-Push-2https://github.com/dupondje/PHP-Push-2


  I would like to understand if this project is:

 1) supposed to replace the sogosync project
 2) supposed to be stable

 Thx




 --
 ---
 Fabio Onorini



 --
 ---
 Fabio Onorini




 --
 Met vriendelijke groet,

 Andy Tuinman




-- 
Met vriendelijke groet,

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