Z-Push open sources Server Activesync |
![]() ![]() |
Z-Push open sources Server Activesync |
Mar 27 2008, 19:55
Post
#21
|
|||
|
Regular Group: Posters Posts: 138 Joined: 18th August 2004 From: Reading, UK Member No.: 53,278 Device(s): MDA Compact IV |
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 (/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: Mar 27 2008, 20:23 |
||
|
|
|||
Mar 27 2008, 22:36
Post
#22
|
|||
|
Regular Group: Posters Posts: 138 Joined: 18th August 2004 From: Reading, UK Member No.: 53,278 Device(s): MDA Compact IV |
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... <?php phpinfo(); ?> 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... CODE // The data providers that we are using (see configuration below) $BACKEND_PROVIDER = "BackendIMAP"; Find the IMAP section and change it to the following... CODE // ************************ // 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... CODE 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/Microsoft-Server-ActiveSync Whack your details in and hopefully it should come back with a message about WGET! This post has been edited by Leaskovski: Apr 1 2008, 21:13 |
||
|
|
|||
|
Mar 27 2008, 23:31
Post
#23
|
||
|
CompTIA A+ Certified Group: MoDaCo Plus Posts: 324 Joined: 9th November 2004 From: Barnsley Member No.: 64,354 Device(s): SPV C500, MDA Vario 1 & 2 |
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/Microsoft-Server-ActiveSync More to follow! 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 -------------------- 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 |
||
|
|
|||
Mar 28 2008, 09:11
Post
#24
|
|||
|
Regular Group: Posters Posts: 138 Joined: 18th August 2004 From: Reading, UK Member No.: 53,278 Device(s): MDA Compact IV |
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 Yeah, i did stick my details in and it loops with that data. This is what I am stuck on. I have a post going on the z-push forum to try and fix it. |
||
|
|
|||
|
Mar 28 2008, 09:50
Post
#25
|
||
|
CompTIA A+ Certified Group: MoDaCo Plus Posts: 324 Joined: 9th November 2004 From: Barnsley Member No.: 64,354 Device(s): SPV C500, MDA Vario 1 & 2 |
ah right am with you now lol
whats the debug log show ? -------------------- 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 |
||
|
|
|||
Mar 28 2008, 11:28
Post
#26
|
|||
|
Regular Group: Posters Posts: 138 Joined: 18th August 2004 From: Reading, UK Member No.: 53,278 Device(s): MDA Compact IV |
ah right am with you now lol whats the debug log show ? It says the following... CODE 03/27/08 22:44:55 Start 03/27/08 22:45:04 Start 03/27/08 22:45:05 /var/www/z-push/backend/imap.php:41 imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {imap.googlemail.com:993/imap/notls/norsh/ssl} (2) 03/27/08 22:45:05 IMAP can't connect: Certificate failure for imap.googlemail.com: unable to get local issuer certificate: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=imap.googlemail.com 03/27/08 21:45:05 Unknown:0 Unknown: Certificate failure for imap.googlemail.com: unable to get local issuer certificate: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=imap.googlemail.com (errflg=2) (8) The main forum memember on the z-push forum thinks it maybe because I am using imap.googlemail.com instead of imap.gmail.com Who knows. I wont be able to try until I get home tonight. EDIT: Right, got it fixed. Installed the ca-certificates and away i went This post has been edited by Leaskovski: Mar 28 2008, 22:32 |
||
|
|
|||
|
Mar 30 2008, 21:12
Post
#27
|
||
|
CompTIA A+ Certified Group: MoDaCo Plus Posts: 324 Joined: 9th November 2004 From: Barnsley Member No.: 64,354 Device(s): SPV C500, MDA Vario 1 & 2 |
glad its now working for you
-------------------- 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 |
||
|
|
|||
|
Jul 12 2008, 16:24
Post
#28
|
||
![]() |_-_-_-_-_-_-_| Group: Moderator Team Posts: 1,785 Joined: 31st December 2004 From: Near Norwich, UK Member No.: 104,092 Device(s): T-Mobile MDA Vario III |
Got it to work perfectlly, however am unable to send any e-mails.
What did you use to send emails? Thanks -------------------- - Tony Sutton
- My Ford Focus ST170 car - Using MDA Vario III with 6GB MicroSD card - Got Phone, GPS and WiFi together? Sign up & Make Money with Navizon! |
||
|
|
|||
|
Jul 13 2008, 16:44
Post
#29
|
||
|
Regular Group: Posters Posts: 130 Joined: 29th November 2002 From: england Member No.: 281 Device(s): Orange M700 |
Ive spent all day working on this. Got to the point where I get the expected error if I connect via a web browser.
On my iphone I get it checking for email and it just sits there... It wont send email neither... F Y I I'm using gmail. To save any questions, I have got my gmail account imap enabled... |
||
|
|
|||
|
Jul 14 2008, 11:06
Post
#30
|
||
|
Regular Group: Posters Posts: 130 Joined: 29th November 2002 From: england Member No.: 281 Device(s): Orange M700 |
Managed to get past one problem. I removed the http:// from the server address. That allowed me to download the contents of my mailbox.
My problem is now that I cannot delete any emails. It also fails to mark messages as read in gmail so I suspect this product is still a work in progress :-( |
||
|
|
|||
![]() ![]() |
Similar Topics
| Topic | Replies | Topic Starter | Views | Last Action | |
|---|---|---|---|---|---|
![]() |
SPV E650 won't connect to any PC using ActiveSync | 7 | spudcoutts | 239 | 7th October 2008 - 19:26 Last post by: Confucious |
![]() |
Erratic ActiveSync - Any solution ? | 2 | kubusclem | 151 | 7th October 2008 - 07:06 Last post by: no@ |
![]() |
ActiveSync - is there an alternatice | 1 | Midahed | 189 | 6th October 2008 - 16:13 Last post by: FutureDirt |
![]() |
camera problem not open please help | 0 | desteni | 47 | 8th October 2008 - 16:09 Last post by: desteni |
![]() |
"cFile.Open Failed" Error Message when flashing Samsung ROM Unable to flash my Orange UK Omnia with a Samsung ROM |
2 | Kurvenal | 100 | 13th October 2008 - 12:53 Last post by: Kurvenal |
![]() |
SPV E650 won't connect to any PC using ActiveSync | 0 | spudcoutts | 0 | 7th October 2008 - 19:26 Last post by: Confucious |
|
Lo-Fi Version | Time is now: 15th October 2008 - 19:11 |
Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!
VITO Technology | Slipstream Solutions | Aiko Solutions | PDAMill | Inesoft | SBSH | LingvoSoft | Ruttensoft | Astraware | MadBeetle | Sprite Software
Opera | Westtek | TetraEdge | Z4Soft | KBM Systems | Conduits | Mini Lyrics Magic | Proporta | Semsons | SyncData | Active Kitten | Binaryfish | Textr
SPB Software House | Omega One | OmniSoft | Resco | eSoft Interactive | TenGo | ATEKsoft | imei-check | GpsGate | SplashData | DeveloperOne | monocube
WebIS, home of Pocket Informant, FlexMail and Note2Self
Would your company like to become a 'Plus Partner'? Click Here to contact us!