Interesting, lets see what Courrier has to say about it:The IDLE command is a extension to the IMAP protocol that lets the IMAP server notify Thunderbird when there is new mail by sending a command over the existing TCP-IP connection. If your IMAP server supports that you don't have to manually check for new mail or have Thunderbird poll for new mail every x minutes.
Realtime concurrent folder status updates
Setting the IMAP_ENHANCEDIDLE to 1 in /etc/courier/imapd enables realtime concurrent folder status updates. When relatime folder status updates are enabled all IMAP mail clients that have the same folder open will be immediately notified of any changes to the folder's contents.
The Courier-IMAP server always allows more than one mail client to have the same folder opened. However, when two or more clients have the same folder opened, the mail clients may not necessarily know when another client added or removed messages from the folder. The base IMAP protocol specification requires IMAP mail clients to explicitly check for any changes to the folder's contents. No provisions exists to notify the mail client immediately when the folder's contents are modified by another mail client.
The IDLE extension to the base IMAP protocol provides a delivery mechanism for notifying mail clients of changes to the mail folder's contents. Although at this time it's not known to which extent the IDLE extension is supported by IMAP mail clients, the Courier-IMAP server fully implements the IDLE extension provided that the following requirements are met:
##NAME: IMAP_ENHANCEDIDLE:0
#
# If Courier was compiled with the File Alteration Monitor, setting
# IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple
# clients may open the same folder concurrently, and receive updates to
# folder contents in realtime. See the imapd(8) man page for additional
# information.
#
# IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included
# in the IMAP_CAPABILITY list.
#
Thats weird, I only get "similar' functionality when I am using a 3rd party inbox polling servce like Wireless Sync. The real windows mail app only checks every 15 minutes.I currently use IMAP folder supscription on my cellphone,and it works like a charm, I get notified the moment there's a new email waiting for me, even with my email client on my PC open.
2008 Update:Your phone will need to have a constant connection to the email server. IMAP IDLE works by leaving a connection open and the server notifying the client of new mail, instead of the client having to poll the server every X minutes. Battery life or immediate notification, choose one.
Last time I checked, the default cpanel courier-imap conf files had IDLE enabled, so it should be good to go out of the box with a client that supports IMAP IDLE.
Real push email, like exchange and Cingular's xpress mail, operate using SMS messages to notify the client of new messages. When the server gets an email, it will send an SMS to the phone, and the phone will then check for new messages. Pretty simple, but rather effective.
Unfortunately, I don't think there's any real standard for this sort of functionality, so I don't think that a network-agnostic clone can be made up.
Any possible way you can give us a tutorial from start to finish?Okay I came across some docs on this again, Looks like it is possible. Maybe time for a fetuare request?
Per:
IMAP: advanced account configuration - MozillaZine Knowledge Base
Interesting, lets see what Courrier has to say about it:
imapd
cPanel doesn't have /etc/courier/imapd but it looks to be here instead:
/usr/lib/courier-imap/etc/imapd
Information on FAM is here, looks like they need FAM to notify them that all their images are missing.Code:##NAME: IMAP_ENHANCEDIDLE:0 # # If Courier was compiled with the File Alteration Monitor, setting # IMAP_ENHANCEDIDLE to 1 enables enhanced IDLE mode, where multiple # clients may open the same folder concurrently, and receive updates to # folder contents in realtime. See the imapd(8) man page for additional # information. # # IMPORTANT: IMAP_USELOCKS *MUST* also be set to 1, and IDLE must be included # in the IMAP_CAPABILITY list. #
SGI - Developer Central Open Source | FAM
![]()
HelloAny possible way you can give us a tutorial from start to finish?
Thank you.Hello
The thread you have replied to is from 2008. The corresponding feature request is found at:
Support iOS's version of Push IMAP
Also, note that Courier is phased out in favor of Dovecot. It's advised to switch to Dovecot at your earliest convenience if you are still using Courier.
Thank you.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
![]() |
In Progress CPANEL-39993 - Manage Service SSL Certificates > iOS Push for Mail wrong hostname | 19 | ||
L | Question regarding push email on Android | 2 | ||
M | iOS Push Mail Not Working | 3 | ||
![]() |
iOS Mail Push Notifications Setup cPanel 70 | 3 | ||
V | Configure IOS Push Mail Function? | 46 |