So I got the new iPhone, and many of our customers have asked if we can support Push-IMAP and I am wondering if this is something that can be enabled in the imapd configuration file or anything?
So I got the new iPhone, and many of our customers have asked if we can support Push-IMAP and I am wondering if this is something that can be enabled in the imapd configuration file or anything?
//eleven2 - badass hosting
What you want to use P-IMAP, which cPanel doesn't support. Here's some info on it from Webhostingtalk
No, what he wants is IMAP IDLE, which cpanel does support, and is turned on by default in courier-imap
//eleven2 - badass hosting
Just keeping my "eye" on things....
R. Paul Mathews
RPMWS - diehard cPanel Nutcase
Isent P-IMAP and Push-IMAP the same?
Does this mean that new Dovecot courier does not work with any other IMAP IDLE or IMAP on other PDA phone, IPhone or Blackberry?
Arren - InstantIT.Asia
cPanel Hosting Provider with more than 2 years exp
InstantCDN.Asia - Asia Content Delivery Network
I'm having a customer with an iPhone that won't delete messages. Other people in his company are having problems with getting emails to one device but not the other. Any clues on this?
Any new information?
push-imap / p-imap =! imap idle
its two different things but p-imap requires imap idle
read more about them @ wikipedia
cPanel 11.25
Installing it now to test it out...
Well, apparently the iPhone still does not support IMAP Idle. Calling these things the "world's most advanced mobile platform" is false advertising.
It can now be done by installing Z-push and setting up your e-mail account as a Microsoft Exchange account. Two things, though:
In config.php change
toCode:$BACKEND_PROVIDER = “BackendICS”;
If you are using suPHP, in index.php comment outCode:$BACKEND_PROVIDER = “BackendIMAP”;
and replace it withCode:$requestheaders = apache_request_headers();
Get z-push at https://developer.berlios.de/project...?group_id=8963Code:function getHeaders() { $headers = array(); foreach ($_SERVER as $k => $v) { if (substr($k, 0, 5) == "HTTP_") { $k = str_replace('_', ' ', substr($k, 5)); $k = str_replace(' ', '-', ucwords(strtolower($k))); $headers[$k] = $v; } } return $headers; } $requestheaders = getHeaders();
Install it in /usr/local/apache/htdocs, change ownership to nobody and then set up the Alias as instructed in the INSTALL file.
You might also need this to get the delete function working.
Last edited by casey; 01-30-2010 at 06:04 AM.
Could be me, but I cannot get z-push to work. Seems to be a problem with newer versions of dovecot and PHP's open_imap() function.
Debug.txt output:
02/10/10 23:52:24 [24432] /usr/local/apache/htdocs/z-push/backend/imap.php:38 imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {localhost:143/imap/notls/norsh} (2)
02/10/10 23:52:24 [24432] IMAP can't connect: Can not authenticate to IMAP server: Authentication failed.
02/10/10 23:52:24 [24432] Access denied: backend logon failed.
02/10/10 23:52:24 [24432] end
02/10/10 23:52:24 [24432] --------
02/10/10 23:52:24 [24432] Unknown:0 Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) (8)
02/10/10 23:52:24 [24432] Unknown:0 Unknown: Retrying PLAIN authentication after Authentication failed. (errflg=1) (8)
02/10/10 23:52:24 [24432] Unknown:0 Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) (8)
02/10/10 23:52:24 [24432] Unknown:0 Unknown: Retrying PLAIN authentication after Authentication failed. (errflg=1) (8)
02/10/10 23:52:24 [24432] Unknown:0 Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) (8)
02/10/10 23:52:24 [24432] Unknown:0 Unknown: Can not authenticate to IMAP server: Authentication failed. (errflg=2) (8)