Available for a limited time only - £5 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

2 Pages V   1 2 >  
Reply to this topicStart new topic
 Z-Push open sources Server Activesync
Paul
post Feb 8 2008, 12:37
Post #1


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Here's something REALLY cool...

QUOTE
Z-Push ... is an implementation of Microsoft's ActiveSync protocol which is used 'over-the-air' for multi platform active sync devices, including Windows Mobile and active sync used on Ericsson and Nokia phones. Open source Z-Push enables any PHP-based groupware package to become fully syncable with any ActiveSync-compliant device.

Being an opensource project under the GPL, it allows developers to add their own backend so that Z-Push can communicate with their groupware solution.

Currently, Z-Push is available with only four backends: the IMAP and the maildir backend for e-mail synchronisation, the vCard backend for contact synchronisation and one for the commercial Zarafa package which is sold by allowing full synchronization of E-mail, Calendar and Contacts. We expect that other backends arise in the near future as the opensource community gets to grips with the new possibilities.

So what does this mean? To see what Z-Push was all about, I installed it on my test server. It's PHP, and I simply uploaded the directory to my server, tweaked the config file, added the required .htaccess and it was ready to rock. It's recommended that Z-Push points at an IMAP server on the same box, but I thought i'd do something a bit different, so I pointed it to GMail's IMAP servers biggrin.gif

The result? Exchange Server ActiveSync Push GMail! It worked straight away, and synced my mails. But did push work? To find out, I sent an email from my main email account to my gmail account. From hitting 'Send' in Outlook to the mail appearing on my device took 11 SECONDS! I'd say it worked ohmy.gif

If you're looking to hook Server ActiveSync Push Technology into your groupware, then z-push is well worth a look!

P


--------------------
My current devices of choice - HTC Touch HD (Miri 6.5 v11), White T-Mobile G1 (Haykuro ADP1.5Hr3-A2SD), Samsung Blackjack II (6.1 stock)

Go to the top of the page
 
+Quote Post
sjeemsnl
post Feb 8 2008, 23:27
Post #2


Newbie
Group Icon

Group: Posters
Posts: 15
Joined: 17th June 2004
From: Netherlands
Member No.: 46,848

Device(s): HTC Touch, Qtek 9090



QUOTE(Paul (MVP) @ Feb 8 2008, 13:37) *
Here's something REALLY cool...
So what does this mean? To see what Z-Push was all about, I installed it on my test server. It's PHP, and I simply uploaded the directory to my server, tweaked the config file, added the required .htaccess and it was ready to rock. It's recommended that Z-Push points at an IMAP server on the same box, but I thought i'd do something a bit different, so I pointed it to GMail's IMAP servers biggrin.gif

The result? Exchange Server ActiveSync Push GMail! It worked straight away, and synced my mails. But did push work? To find out, I sent an email from my main email account to my gmail account. From hitting 'Send' in Outlook to the mail appearing on my device took 11 SECONDS! I'd say it worked ohmy.gif

If you're looking to hook Server ActiveSync Push Technology into your groupware, then z-push is well worth a look!

P


Hey there Paul this sounds very nice..
Any hints on what to config in the configs..
I just could not figure it out just now.. Might be my fault and I'd better look in the morning or the docs arent clear...
Erm and I was pointing at the GMail imap settings ;)

hope you can help smile.gif

grtz,
Sjeems
Go to the top of the page
 
+Quote Post
Paul
post Feb 8 2008, 23:38
Post #3


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Voila! My config...

CODE
// The data providers that we are using (see configuration below)

$BACKEND_PROVIDER = "BackendIMAP";



// ************************

// BackendIMAP settings

// ************************



// Defines the server to which we want to connect

// recommended to use local servers only

define('IMAP_SERVER', 'imap.gmail.com');

// connecting to default port (143)

define('IMAP_PORT', 993);

// best cross-platform compatibility (see http://php.net/imap_open for options)

define('IMAP_OPTIONS', '/notls/norsh/ssl');


P
Go to the top of the page
 
+Quote Post
sjeemsnl
post Feb 8 2008, 23:43
Post #4


Newbie
Group Icon

Group: Posters
Posts: 15
Joined: 17th June 2004
From: Netherlands
Member No.: 46,848

Device(s): HTC Touch, Qtek 9090



Wow
that's what I would like to call good service wink.gif

Now lets hope our providers will do the same here in holland I we ask them for some info tongue.gif

thanks paul, Im going to try it now! Will post results!!

grtz,
Sjeems
Go to the top of the page
 
+Quote Post
sjeemsnl
post Feb 9 2008, 00:28
Post #5


Newbie
Group Icon

Group: Posters
Posts: 15
Joined: 17th June 2004
From: Netherlands
Member No.: 46,848

Device(s): HTC Touch, Qtek 9090



Mmmm I used to be living a .Net and so Microsoft programmers life...and this Debian server won't forgive me wink.gif
I'll try later.. Might have some luck with some help from friends, and hey I might learn some things wink.gif
Darn I was happy about this.. wink.gif


thanks!

grtz
Sjeems


This post has been edited by sjeemsnl: Feb 9 2008, 00:30
Go to the top of the page
 
+Quote Post
Paul
post Feb 9 2008, 08:54
Post #6


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Don't forget you need php-imap (apt-get install php-imap IIRC).

Check out dotdeb while you're at it too, awesome wink.gif

P
Go to the top of the page
 
+Quote Post
rthomas
post Feb 11 2008, 08:10
Post #7


Newbie
Group Icon

Group: Posters
Posts: 1
Joined: 19th July 2007
Member No.: 279,566



I have uploaded it to my root, but being a noob I am not sure about the settings for config.php and cant even find the httpd.conf file. Anyone like to expand on the installation help file for an idiot like me smile.gif

Thanks


--------------------
MDA Compact III
XDA Orbit
HTC TyTn II
Go to the top of the page
 
+Quote Post
touficjohn
post Feb 13 2008, 13:38
Post #8


Regular
Group Icon

Group: Posters
Posts: 92
Joined: 3rd October 2006
From: London
Member No.: 208,805

Device(s): MDA Vario III



Hmm this would be fantastic!
Though is there a way of adding more than one exchange server in activesync?
Go to the top of the page
 
+Quote Post
Monolithix
post Feb 14 2008, 10:55
Post #9


Moderator - Boing!
Group Icon

Group: Admin Team
Posts: 8,815
Joined: 12th December 2002
From: Guildford, UK
Member No.: 993

Device(s): HTC Touch HD



Nope...WM can currently only support one exchange server at a time...


--------------------
This months MoDaCo WinMo Week device: the T-Mobile G1! Download the show here!

2.25GB of backup storage online for free with Mozy! - https://mozy.com/?ref=VQ664H

Fresh fruit and nut box delivered regularly to your door from www.graze.com - get your first box for £1 with V2DQZ1C !
Go to the top of the page
 
+Quote Post
touficjohn
post Feb 15 2008, 02:05
Post #10


Regular
Group Icon

Group: Posters
Posts: 92
Joined: 3rd October 2006
From: London
Member No.: 208,805

Device(s): MDA Vario III



Its fantastic!
I set up z-push on my server (took less than 10mins).
Got the WM5 emulator from the M$ website. E-mails (not stored locally) arrived in seconds!!!!
If only there was a way to be able to sync with more than one exchange server at a time! Surely there has got to be some sort of workaround?


This post has been edited by touficjohn: Feb 15 2008, 02:06
Go to the top of the page
 
+Quote Post
PayableOnDeath
post Feb 16 2008, 23:09
Post #11


CompTIA A+ Certified
Group Icon

Group: Members
Posts: 330
Joined: 9th November 2004
From: Barnsley
Member No.: 64,354

Device(s): SPV C500, MDA Vario 1 & 2



after much playing around i managed to get php recompiled right so that Z-push would work and its working great laugh.gif

QUOTE(touficjohn @ Feb 15 2008, 02:05) *
If only there was a way to be able to sync with more than one exchange server at a time! Surely there has got to be some sort of workaround?


I hope someone would be able to sort that as it would be very use full biggrin.gif


--------------------
Got a non-windows mobile Phone? then visit this forum --->Mobiholics
Part of the MoDaCo.Network


Phones:
Nokia 5210 > 3210 > 3100 > SPV C500 >O2 XDA1(Only Used in Car For Sat Nav) > MDA Vario > MDA Vario II
Go to the top of the page
 
+Quote Post
Mr.Clark
post Feb 19 2008, 20:51
Post #12


Enthusiast
Group Icon

Group: Posters
Posts: 229
Joined: 22nd April 2005
From: UK
Member No.: 125,267

Device(s): Vario III



QUOTE(Monolithix @ Feb 14 2008, 10:55) *
Nope...WM can currently only support one exchange server at a time...

Ah, so if you currently have an ActiveSync Exchange account AND a Gmail IMAP account, you can't turn the Gmail one into a second Push account?

Dang.


--------------------
Novus Ordo Mundi
Go to the top of the page
 
+Quote Post
Paul
post Feb 19 2008, 20:54
Post #13


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Sadly not!

P
Go to the top of the page
 
+Quote Post
PayableOnDeath
post Mar 3 2008, 23:35
Post #14


CompTIA A+ Certified
Group Icon

Group: Members
Posts: 330
Joined: 9th November 2004
From: Barnsley
Member No.: 64,354

Device(s): SPV C500, MDA Vario 1 & 2



anyone getting a problem where it Marks Every email as read?

its sending to the phone fine, with sec's of the email how ever its not notifying me of the new email and marks it as been read :S
Go to the top of the page
 
+Quote Post
Leaskovski
post Mar 26 2008, 17:19
Post #15


Regular
Group Icon

Group: Posters
Posts: 139
Joined: 18th August 2004
From: Reading, UK
Member No.: 53,278

Device(s): MDA Compact IV



Ive got a question about this.

Is the gmail account settings set for the server or is it still set on the phone?
I see that you have to tell the server that you are using IMAP and the gmail server names.

The reason for asking is... could you in theory have 1 server that is setup for gmail and then have multiple users using that server to get their gmail via push?
Go to the top of the page
 
+Quote Post
Paul
post Mar 26 2008, 17:33
Post #16


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



You pass the credentials in as normal.

P
Go to the top of the page
 
+Quote Post
Leaskovski
post Mar 27 2008, 09:27
Post #17


Regular
Group Icon

Group: Posters
Posts: 139
Joined: 18th August 2004
From: Reading, UK
Member No.: 53,278

Device(s): MDA Compact IV



Interesting!

Well i got an ubuntu desktop machine up and running last night and got Apache and Php running on it. I got it working according to their pdf install doc, but the imap stuff isnt pulling yet. I think i need to install php-imap, but it got past my bed time.

My theory is that someone should set a server up for gmail imap and then make it public for free biggrin.gif

Somehow i dont think my sky dsl connection would handle it very well for a public one biggrin.gif
Go to the top of the page
 
+Quote Post
PayableOnDeath
post Mar 27 2008, 09:44
Post #18


CompTIA A+ Certified
Group Icon

Group: Members
Posts: 330
Joined: 9th November 2004
From: Barnsley
Member No.: 64,354

Device(s): SPV C500, MDA Vario 1 & 2



QUOTE(Leaskovski @ Mar 27 2008, 09:27) *
Interesting!

Well i got an ubuntu desktop machine up and running last night and got Apache and Php running on it. I got it working according to their pdf install doc, but the imap stuff isnt pulling yet. I think i need to install php-imap, but it got past my bed time.

My theory is that someone should set a server up for gmail imap and then make it public for free biggrin.gif

Somehow i dont think my sky dsl connection would handle it very well for a public one biggrin.gif


yes you need imap, php-imap and compile php with imap support

could do a public one but as word go around am sure the bandwidth bills would go through the roof mad.gif
Go to the top of the page
 
+Quote Post
Paul
post Mar 27 2008, 09:46
Post #19


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Check out dotdeb.

Add their repositories, the installing the latest and greatest of all the bits you need is a piece of cake! apt-get php-imap = job done biggrin.gif

(/me loves dotdeb so much he's donated)

P
Go to the top of the page
 
+Quote Post
Leaskovski
post Mar 27 2008, 10:12
Post #20


Regular
Group Icon

Group: Posters
Posts: 139
Joined: 18th August 2004
From: Reading, UK
Member No.: 53,278

Device(s): MDA Compact IV



Hmm, seen as Gmail got into bed with the apple and iphone guys, they should set one of these badgers up on their servers biggrin.gif I wish!

Speaking of gmail imap, how does it handle all the funky folders/labels and stuff?
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
Tags
No Tag inserted yet


Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts camera problem not open please help
11 desteni 629 16th June 2009 - 19:22
Last post by: unwichtig
No New Posts ActiveSync Via Bluetooth remove System Tray Icon?
Is there a way to hide the tray icon?
1 spv_dman 339 4th June 2009 - 09:24
Last post by: lwiczek
No New Posts Cfile. Open failed error
0 Peew971 83 13th June 2009 - 12:05
Last post by: Peew971
No New Posts Cannot surf internet thru 3G or Activesync
1 ckaidi 92 26th June 2009 - 20:44
Last post by: dmk679
No New Posts Topic has attachmentscannot Open .zip files??!!
5 cooleydan5 117 Today, 10:23
Last post by: NateLiu
No New Posts HELP! Activesync asks for Exchange Server credentials constantly!
0 elliotboney 53 Yesterday, 13:52
Last post by: elliotboney

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 4th July 2009 - 19:13

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Aiko Solutions | Ateksoft | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | Lingvosoft |

monocube | Mykesoft | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Slipstream Solutions | SPB Software House |

Splashdata | Sprite Software | Syncdata | Teksoft | VITO | WalkingHotSpot | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!