Results 1 to 9 of 9

Thread: [SOLVED] push email from IMAP store to iphone from zimbra FOSS working via zpush acti

  1. #1
    BrianA is offline Senior Member
    Join Date
    Jan 2008
    Posts
    70
    Rep Power
    7

    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.

  2. #2
    ssabchew is offline New Member
    Join Date
    Jan 2009
    Posts
    3
    Rep Power
    6

    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?

  3. #3
    BrianA is offline Senior Member
    Join Date
    Jan 2008
    Posts
    70
    Rep Power
    7

    Default why not zimbra apache?

    because if you do a zimbra update it will kill your setup.

  4. #4
    shiv4 is offline New Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    5

    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

  5. #5
    BrianA is offline Senior Member
    Join Date
    Jan 2008
    Posts
    70
    Rep Power
    7

    Default yep

    webmail via port 80.

  6. #6
    shiv4 is offline New Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    5

    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

  7. #7
    BrianA is offline Senior Member
    Join Date
    Jan 2008
    Posts
    70
    Rep Power
    7

    Default

    you can always run z-push on another server if you have another inet ip address

  8. #8
    shiv4 is offline New Member
    Join Date
    Jan 2010
    Posts
    3
    Rep Power
    5

    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

  9. #9
    vbn's Avatar
    vbn
    vbn is offline Active Member
    Join Date
    Dec 2009
    Location
    Singapore and India
    Posts
    42
    Rep Power
    5

    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]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  2. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  3. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM
  4. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •