Results 1 to 5 of 5
Discuss Push Mail (own IMAP-server, not yahoo-mail) at the General - Hackint0sh.org; Hi there, I'm just testing a little bit to get push mail working with my ...
  1. #1
    Rookie Array

    Join Date
    Oct 2007
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Push Mail (own IMAP-server, not yahoo-mail)

    Hi there,

    I'm just testing a little bit to get push mail working with my own server. I have courier-imap installed and set the following 3 options in "/etc/courier/imapd"-config:

    Code:
    IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
    
    IMAP_USELOCKS=1
    
    IMAP_ENHANCEDIDLE=1
    After that I checked the response of the IMAP-server:

    Code:
    a OK LOGIN Ok.
    a SELECT INBOX
    * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
    * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
    * 70 EXISTS
    * 3 RECENT
    * OK [UIDVALIDITY 1191429247] Ok
    * OK [MYRIGHTS "acdilrsw"] ACL
    a OK [READ-WRITE] Ok
    a IDLE
    + entering ENHANCED idle mode
    It works! IDLE Mode should be no problem. But in case of the iPhone, I found the following:

    http://www.afp548.com/article.php?st...70701230525807
    Push e-mail

    The phone supports "push e-mail" which is most likely just IMAP using the idle command (although we'd be happy to be told they mean something else). This works by having the e-mail client, your iPhone in this case, send the idle command to the IMAP server. The client then leaves the IMAP conenction open and will wait until the server receives new mail. At which point the server will notify the client, thorugh the connection that's still open, that e-mail has arrived. The client will then go get the e-mail.

    At this time, the only e-mail service that appears to with with push IMAP is Yahoo! The iPhone does not issue an IDLE command when conversing with other IMAP servers.
    So the problem is, that the iPhone will not send an IDLE-command at the moment (at least if you don't use a yahoo-mailaccount). Has anyone checked this out yet or can provide a solution?



  2. #2
    Rookie Array

    Join Date
    Oct 2007
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Solution is, the iPhone doesn't use IMAP IDLE :-(

    http://www.bynkii.com/archives/2007/...ush_email.html
    Traffic sniffed between the iPhone and Yahoo!'s server indicates that IDLE isn't used for push e-mail. Some iPhone owners, moreover, have manually logged into the IMAP server and verified that it doesn't support IDLE. The current theory is that the notification for new e-mail is instead being sent over the cellular network.

  3. #3
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by michaeljk View Post
    Solution is, the iPhone doesn't use IMAP IDLE :-(

    http://www.bynkii.com/archives/2007/...ush_email.html
    THERE IS NO NOTIFICATION EVER. It's not push email, but rather a "check every xx minutes for new mail".

  4. #4
    Professional Array

    Join Date
    Sep 2007
    Posts
    56
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    I'm thrilled that someone is FINALLY looking into doing this. I think the solution is to create a plug-in which adds IMAP Idle functionality to the iPhone's mail client. The good thing is that there is already such a plug-in in existence for OSX desktop and it works great. While it might work on the iPhone, I haven't had the guts to try it since it wasn't written specifically for an ARM processor. It's available at the following site if you want to take a look at it.

    http://www.rothwell.us/imapidle/index.html

    I would be more than willing to help out in any way possible.

  5. #5
    Advanced Array

    Join Date
    Sep 2007
    Posts
    43
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by davpel View Post
    I'm thrilled that someone is FINALLY looking into doing this. I think the solution is to create a plug-in which adds IMAP Idle functionality to the iPhone's mail client. The good thing is that there is already such a plug-in in existence for OSX desktop and it works great. While it might work on the iPhone, I haven't had the guts to try it since it wasn't written specifically for an ARM processor. It's available at the following site if you want to take a look at it.

    http://www.rothwell.us/imapidle/index.html

    I would be more than willing to help out in any way possible.
    Yay! I'm also thrilled someone is working/interested in this.

    I wonder how the "bounty" is coming...


 

 

Similar Threads

  1. MacNN: Yahoo fixes IMAP mail for iPhone, Windows Phone 7 users
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-11-2011, 12:30 AM
  2. Yahoo iPhone IMAP on Leopard Mail?
    By jowo in forum General
    Replies: 4
    Last Post: 12-05-2008, 06:56 PM
  3. Push Mail with Yahoo
    By bierchen2 in forum General
    Replies: 0
    Last Post: 12-25-2007, 10:30 PM
  4. Yahoo IMAP Push Mail - EDGE / WiFi
    By Hr.Kaiser in forum General
    Replies: 3
    Last Post: 10-10-2007, 06:08 PM
  5. If you have NON-ATT network + PUSH yahoo mail - Post here
    By yalag in forum iPhone "2G" (Rev. 1)
    Replies: 14
    Last Post: 10-08-2007, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:41 AM.
twitter, follow us!