Windows Phone @ MoDaCo: Z-Push open sources Server Activesync - Windows Phone @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Z-Push open sources Server Activesync
-----


#4 User is offline   sjeemsnl 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 17-June 04
  • Gender:Male
  • Location:Netherlands
  • Devices:HTC Touch, Qtek 9090

Posted 08 February 2008 - 11:43 PM

Wow
that's what I would like to call good service :)

Now lets hope our providers will do the same here in holland I we ask them for some info :D

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

grtz,
Sjeems

0

Sponsored Links


#5 User is offline   sjeemsnl 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 17-June 04
  • Gender:Male
  • Location:Netherlands
  • Devices:HTC Touch, Qtek 9090

Posted 09 February 2008 - 12:28 AM

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


thanks!

grtz
Sjeems

This post has been edited by sjeemsnl: 09 February 2008 - 12:30 AM

0


#6 User is offline   PaulOBrien 

  • It's My Party
  • View gallery
  • Group: Founder
  • Posts: 32,386
  • Joined: 06-November 02
  • Gender:Male
  • Location:Norwich, UK
  • Interests:Snowboarding, Arsenal FC, Mobile Phones (duh!), Fast Cars, Slow VW Campers!
  • Devices:Galaxy S II / Xoom 3G
  • Twitter:@paulobrien

Posted 09 February 2008 - 08:54 AM

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

Check out dotdeb while you're at it too, awesome :)

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money the Multiple Sclerosis society.

Posted Image
0


#7 User is offline   rthomas 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 19-July 07

Posted 11 February 2008 - 08:10 AM

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 :)

Thanks

0


#8 User is offline   touficjohn 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 03-October 06
  • Location:London
  • Devices:iPhone
  • Twitter:@touficjohn

Posted 13 February 2008 - 01:38 PM

Hmm this would be fantastic!
Though is there a way of adding more than one exchange server in activesync?

0


#9 User is offline   Monolithix 

  • Members
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 8,781
  • Joined: 12-December 02
  • Gender:Male
  • Location:London, UK
  • Devices:Nexus S
  • Twitter:@chrisbrunskill

Posted 14 February 2008 - 10:55 AM

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

I still exist
0


#10 User is offline   touficjohn 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 03-October 06
  • Location:London
  • Devices:iPhone
  • Twitter:@touficjohn

Posted 15 February 2008 - 02:05 AM

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: 15 February 2008 - 02:06 AM

0


#11 User is offline   PayableOnDeath 

  • CompTIA A+ Certified
  • PipPipPipPip
  • Group: Members
  • Posts: 346
  • Joined: 09-November 04
  • Location:Bournemouth
  • Devices:HTC Desire Z, T-Mobile G1

Posted 16 February 2008 - 11:09 PM

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

View Posttouficjohn, on Feb 15 2008, 02:05, said:

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 :D

Phones:
Nokia 5210 > 3210 > 3100 > SPV C500 >O2 XDA1(Only Used in Car For Sat Nav) > MDA Vario > MDA Vario II > T-Mobile G1 > Nokia N900 > HTC Desire Z
0


#12 User is offline   Mr.Clark 

  • Diehard
  • PipPipPipPip
  • Group: MoDaCo Plus
  • Posts: 310
  • Joined: 22-April 05
  • Gender:Male
  • Location:UK
  • Devices:Nexus S, Eee Transformer

Posted 19 February 2008 - 08:51 PM

View PostMonolithix, on Feb 14 2008, 10:55, said:

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
0


#13 User is offline   PaulOBrien 

  • It's My Party
  • View gallery
  • Group: Founder
  • Posts: 32,386
  • Joined: 06-November 02
  • Gender:Male
  • Location:Norwich, UK
  • Interests:Snowboarding, Arsenal FC, Mobile Phones (duh!), Fast Cars, Slow VW Campers!
  • Devices:Galaxy S II / Xoom 3G
  • Twitter:@paulobrien

Posted 19 February 2008 - 08:54 PM

Sadly not!

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money the Multiple Sclerosis society.

Posted Image
0


#14 User is offline   PayableOnDeath 

  • CompTIA A+ Certified
  • PipPipPipPip
  • Group: Members
  • Posts: 346
  • Joined: 09-November 04
  • Location:Bournemouth
  • Devices:HTC Desire Z, T-Mobile G1

Posted 03 March 2008 - 11:35 PM

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

Phones:
Nokia 5210 > 3210 > 3100 > SPV C500 >O2 XDA1(Only Used in Car For Sat Nav) > MDA Vario > MDA Vario II > T-Mobile G1 > Nokia N900 > HTC Desire Z
0


#15 User is offline   Leaskovski 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 132
  • Joined: 18-August 04
  • Location:Here

Posted 26 March 2008 - 05:19 PM

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?

0


#16 User is offline   PaulOBrien 

  • It's My Party
  • View gallery
  • Group: Founder
  • Posts: 32,386
  • Joined: 06-November 02
  • Gender:Male
  • Location:Norwich, UK
  • Interests:Snowboarding, Arsenal FC, Mobile Phones (duh!), Fast Cars, Slow VW Campers!
  • Devices:Galaxy S II / Xoom 3G
  • Twitter:@paulobrien

Posted 26 March 2008 - 05:33 PM

You pass the credentials in as normal.

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money the Multiple Sclerosis society.

Posted Image
0


#17 User is offline   Leaskovski 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 132
  • Joined: 18-August 04
  • Location:Here

Posted 27 March 2008 - 09:27 AM

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 :D

Somehow i dont think my sky dsl connection would handle it very well for a public one :(

0


#18 User is offline   PayableOnDeath 

  • CompTIA A+ Certified
  • PipPipPipPip
  • Group: Members
  • Posts: 346
  • Joined: 09-November 04
  • Location:Bournemouth
  • Devices:HTC Desire Z, T-Mobile G1

Posted 27 March 2008 - 09:44 AM

View PostLeaskovski, on Mar 27 2008, 09:27, said:

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 :(

Somehow i dont think my sky dsl connection would handle it very well for a public one :D


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 :(

Phones:
Nokia 5210 > 3210 > 3100 > SPV C500 >O2 XDA1(Only Used in Car For Sat Nav) > MDA Vario > MDA Vario II > T-Mobile G1 > Nokia N900 > HTC Desire Z
0


#19 User is offline   PaulOBrien 

  • It's My Party
  • View gallery
  • Group: Founder
  • Posts: 32,386
  • Joined: 06-November 02
  • Gender:Male
  • Location:Norwich, UK
  • Interests:Snowboarding, Arsenal FC, Mobile Phones (duh!), Fast Cars, Slow VW Campers!
  • Devices:Galaxy S II / Xoom 3G
  • Twitter:@paulobrien

Posted 27 March 2008 - 09:46 AM

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 :D

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

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money the Multiple Sclerosis society.

Posted Image
0


#20 User is offline   Leaskovski 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 132
  • Joined: 18-August 04
  • Location:Here

Posted 27 March 2008 - 10:12 AM

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

Speaking of gmail imap, how does it handle all the funky folders/labels and stuff?

0


#21 User is offline   Leaskovski 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 132
  • Joined: 18-August 04
  • Location:Here

Posted 27 March 2008 - 07:55 PM

View PostPaul (MVP), on Mar 27 2008, 09:46, said:

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 :D

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

P


Nope, that doesnt work. I added them to the source list and tried that package and it said it doesnt exist. Browsing their repo I cant see that in there. :(

Looks like im gonna have to go for a manual compile.

Edit:

Thats because its not php-imap, its phpx-imap, where x is the version of php you are running. In my case 5.

God knows if this is working. I have now installed that package but i dont know if it is working properly. I run the test according to the install doc where you go to a url and it asks for your username and password, but it doesnt return the text that it should do (according to the doc)

This post has been edited by Leaskovski: 27 March 2008 - 08:23 PM

0


#22 User is offline   Leaskovski 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 132
  • Joined: 18-August 04
  • Location:Here

Posted 27 March 2008 - 10:36 PM

Right, here is how to install onto an Ubuntu 7.10 Desktop pc (this is for me when i come to rebuild)
I will edit this as time goes on and i get it working with my install of ubuntu!

(Remember its case sensitive linux!)

1) sudo gedit /etc/apt/sources.list

edit the file so that you uncomment all the deb entries (this maybe unrequired!)

2) sudo apt-get update

3) sudo apt-get install apache2

4) sudo /etc/init.d/apache2 start

5) sudo apt-get install php5 libapache2-mod-php5

6) sudo apt-get install php5-imap

7) sudo apt-get install ca-certificates

8) Restart the machine.

9) sudo gedit /var/www/phpinfo.php

add the following text...



Now when you visit http://localhost/phpinfo.php it should tell you that php is installed and running, this also shows that apache is running!

10) Visit the Z-Push website and download the tar file to your desktop. Open up a terminal session and set the dir to your desktop (cd Desktop)

11) sudo tar zxvf z-push-1.0.tar.gz -C /var/www

12) sudo gedit /var/www/z-push/config.php

Find the following line and change it to look like...

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

$BACKEND_PROVIDER = "BackendIMAP";


Find the IMAP section and change it to the following...

	// ************************
	//  BackendIMAP settings
	// ************************
	
	// Defines the server to which we want to connect
	// recommended to use local servers only
	define('IMAP_SERVER', 'imap.googlemail.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');
	// overwrite the "from" header if it isn't set when sending emails
	// options: 'username'	- the username will be set (usefull if your login is equal to your emailaddress)
	//		'domain'	- the value of the "domain" field is used
	//		'@mydomain.com' - the username is used and the given string will be appended
	define('IMAP_DEFAULTFROM', 'username');


13) sudo chmod 777 /var/www/z-push/state

14) sudo chmod 755 /var/www/z-push/state

15) sudo chown www-data:www-data /var/www/z-push/state

16) sudo gedit /etc/apache2/httpd.conf

Edit this file so that it reads the following...

Alias /Microsoft-Server-ActiveSync /var/www/z-push/index.php

php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag short_open_tag on


17) sudo touch /var/www/z-push/debug.txt

18) sudo chmod 777 /var/www/z-push/debug.txt

19) sudo apt-get install php-pear

20) sudo pear install Mail

21) Restart your machine and see what happens!


Visit the following website...

http://localhost/Mic...rver-ActiveSync

Whack your details in and hopefully it should come back with a message about WGET! :D

This post has been edited by Leaskovski: 01 April 2008 - 09:13 PM

0


#23 User is offline   PayableOnDeath 

  • CompTIA A+ Certified
  • PipPipPipPip
  • Group: Members
  • Posts: 346
  • Joined: 09-November 04
  • Location:Bournemouth
  • Devices:HTC Desire Z, T-Mobile G1

Posted 27 March 2008 - 11:31 PM

View PostLeaskovski, on Mar 27 2008, 22:36, said:

18) Restart your machine and see what happens!
-Im stuck at this point. At the moment, i get a loop when asking for the loppon details when i visit the following website...
http://localhost/Mic...rver-ActiveSync

More to follow! :D



pop in your Gmail login details and it should give the following message

GET not supported
This is the z-push location and can only be accessed by Microsoft ActiveSync-capable devices.

if you then it should be ok then try it from your device

Phones:
Nokia 5210 > 3210 > 3100 > SPV C500 >O2 XDA1(Only Used in Car For Sat Nav) > MDA Vario > MDA Vario II > T-Mobile G1 > Nokia N900 > HTC Desire Z
0


Sponsored Links

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!