Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-2009, 07:46 PM
Senior Member
 
Posts: 63
Cool [SOLVED] push email from IMAP store to iphone from zimbra FOSS working via zpush acti

My biggest gripe with my stupid Iphone was its lack of push email from zimbra Open Source edition. But I have fixed it.

oh yeah, aint zimbra sweet!

and z-push..

on debian etch apache-ssl only listens on port 443, so no conflicts - you can do this on your zimbra box..

apt-get install apache-ssl php-mail libapache-mod-php4

set up your self signed certificate. common name is your hosts fqdn

get the zpush package from
Z-Push - open source push technology

follow the instructions to install. change the backend source to IMAP

a slight modification required...

/var/www/z-push/backend# vi imap.php

around line 592, comment out existing and add corrected... this stops z-push marking your emails as read.

// $mail = @imap_fetchheader($this->_mbox, $id,FT_PREFETCHTEXT | FT_UID) . @imap_body($this->_mbox, $id, FT_PEEK | FT_UID);
$mail = @imap_fetchheader($this->_mbox, $id, FT_UID) . @imap_body($this->_mbox, $id, FT_PEEK | FT_UID);


Set up your iphone with an exchange activesync email - disable contact and calender sync, only email sync... and it is a ssl connection...


send yourself an email and be gratified with the melodical "ding-dong"

I have no comments on battery and data usage.

cheers

I am feeling somewhat smug now. lol.
Reply With Quote
  #2 (permalink)  
Old 01-13-2010, 03:41 PM
New Member
 
Posts: 3
Default Version of Zpush

Quote:
Originally Posted by BrianA View Post
My biggest gripe with my stupid Iphone was its lack of push email from zimbra Open Source edition. But I have fixed it.

oh yeah, aint zimbra sweet!

and z-push..

on debian etch apache-ssl only listens on port 443, so no conflicts - you can do this on your zimbra box..

apt-get install apache-ssl php-mail libapache-mod-php4

set up your self signed certificate. common name is your hosts fqdn

get the zpush package from
Z-Push - open source push technology

follow the instructions to install. change the backend source to IMAP

a slight modification required...

/var/www/z-push/backend# vi imap.php

around line 592, comment out existing and add corrected... this stops z-push marking your emails as read.

// $mail = @imap_fetchheader($this->_mbox, $id,FT_PREFETCHTEXT | FT_UID) . @imap_body($this->_mbox, $id, FT_PEEK | FT_UID);
$mail = @imap_fetchheader($this->_mbox, $id, FT_UID) . @imap_body($this->_mbox, $id, FT_PEEK | FT_UID);


Set up your iphone with an exchange activesync email - disable contact and calender sync, only email sync... and it is a ssl connection...


send yourself an email and be gratified with the melodical "ding-dong"

I have no comments on battery and data usage.

cheers

I am feeling somewhat smug now. lol.
Which Versino of ZPush you used?
Why cannot be installed inside zimbra's apache?
Reply With Quote
  #3 (permalink)  
Old 01-13-2010, 04:11 PM
Senior Member
 
Posts: 63
Default why not zimbra apache?

because if you do a zimbra update it will kill your setup.
Reply With Quote
  #4 (permalink)  
Old 01-15-2010, 12:12 PM
New Member
 
Posts: 3
Default what about the zimbra ssl instance?

How did you fix conflicts with the 443 in listening by zimbra?

zimbra:/etc/apache2# netstat -natup | grep 443
tcp6 0 0 :::443 :::* LISTEN 6745/java

or you don't use a ssl connection on webmail?

cheers

shiva
Reply With Quote
  #5 (permalink)  
Old 01-15-2010, 01:10 PM
Senior Member
 
Posts: 63
Default yep

webmail via port 80.
Reply With Quote
  #6 (permalink)  
Old 01-15-2010, 04:12 PM
New Member
 
Posts: 3
Default as i thought

But i don't really like this solution, i don't want users to login on non https way, probably i'll choose the mod_proxy solution to get push e-mail on mobile devices.

Thanks anyway for the inspiration

shiva
Reply With Quote
  #7 (permalink)  
Old 01-15-2010, 05:59 PM
Senior Member
 
Posts: 63
Default

you can always run z-push on another server if you have another inet ip address
Reply With Quote
  #8 (permalink)  
Old 01-16-2010, 10:39 AM
New Member
 
Posts: 3
Default yup

That's another possible solution, in this way i'd even avoid to modify too many stuff in zimbra setup, losing all my work on next upgrade.

You have been "enlightening"

shiva
Reply With Quote
  #9 (permalink)  
Old 01-17-2010, 02:50 AM
vbn vbn is offline
Active Member
 
Posts: 42
Default

Or just run Zimbra on non-standard ports and use Apache to proxy via standard ports. You can use an alias for z-push virtualdirectory and voila...it works !
__________________
VBNCloud & VBNMail - Administrator
Zimbra OSS with Full Cloud Files/Gallery Services [Under Dev]
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.