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 ...
Push Mail (own IMAP-server, not yahoo-mail)
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:
After that I checked the response of the IMAP-server:
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
It works! IDLE Mode should be no problem. But in case of the iPhone, I found the following:
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
+ entering ENHANCED idle mode
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?
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.
Solution is, the iPhone doesn't use IMAP IDLE :-(
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.
THERE IS NO NOTIFICATION EVER. It's not push email, but rather a "check every xx minutes for new mail".
Originally Posted by michaeljk
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.
I would be more than willing to help out in any way possible.
Yay! I'm also thrilled someone is working/interested in this.
Originally Posted by davpel
I wonder how the "bounty" is coming...
By hackint0sh in forum Latest Headlines
Last Post: 03-11-2011, 01:30 AM
Last Post: 12-05-2008, 07:56 PM
By bierchen2 in forum General
Last Post: 12-25-2007, 11:30 PM
By Hr.Kaiser in forum General
Last Post: 10-10-2007, 07:08 PM
By yalag in forum iPhone "2G" (Rev. 1)
Last Post: 10-08-2007, 05:19 PM