[Dovecot] push mail support
Hello,
I would like to use push in qmail+dovecot environments. Can someone tell me which components should I use to enable this feature for mobile devices?
Thanks. -Ibrahim.
Hello,
On 08/04/2010 00:35, Ibrahim Harrani wrote:
Hello,
I would like to use push in qmail+dovecot environments. Can someone tell me which components should I use to enable this feature for mobile devices?
I think z-push is probably what you are looking for http://z-push.sourceforge.net/soswp/
Best Regards
On Thu, Apr 08, 2010 at 01:35:41AM +0300, Ibrahim Harrani wrote:
Hello,
I would like to use push in qmail+dovecot environments. Can someone tell me which components should I use to enable this feature for mobile devices?
Thanks. -Ibrahim. Hi,
this works fine with mobile clients that support IMAP IDLE. Using it with K-9 on Android devices and it works like a charm.
Regards Thomas
Hi Thomas,
What do you mean with "this" is it z-push?
I do not have any experince about push mail and mobile devices. I read some documents and I am a little bit confused. If I understood correctly(most probable not :)) Someone says that dovecot IMAP-IDLE solution is enough without installing anything else. other one says you have to install z-push. Are these two solution alternative to each other or they complete each other?
Thanks.
On Thu, Apr 8, 2010 at 11:05 AM, Thomas Leuxner <tlx@leuxner.net> wrote:
On Thu, Apr 08, 2010 at 01:35:41AM +0300, Ibrahim Harrani wrote:
Hello,
I would like to use push in qmail+dovecot environments. Can someone tell me which components should I use to enable this feature for mobile devices?
Thanks. -Ibrahim. Hi,
this works fine with mobile clients that support IMAP IDLE. Using it with K-9 on Android devices and it works like a charm.
Regards Thomas
On Thu, Apr 08, 2010 at 12:15:00PM +0300, Ibrahim Harrani wrote:
Hi Thomas, --- snip --- Someone says that dovecot IMAP-IDLE solution is enough without installing anything else. other one says you have to install z-push. Are these two solution alternative to each other or they complete each other?
With IMAP-IDLE the client will maintain a sticky connection to the server. Once a mail is received, Dovecot will notify the connected clients. This only requires a mobile client with this capability and of course a permanent connection to the server. It does not require additional packages etc.
Hope that helps.
Thomas
On 08/04/2010 11:15, Ibrahim Harrani wrote:
What do you mean with "this" is it z-push?
I do not have any experince about push mail and mobile devices. I read some documents and I am a little bit confused. If I understood correctly(most probable not :)) Someone says that dovecot IMAP-IDLE solution is enough without installing anything else. other one says you have to install z-push. Are these two solution alternative to each other or they complete each other?
push and imap-idle are 2 different things.
z-push emulates the behavior of windows active sync, so for example, you could configure your iphone to get mail from an exchange server, even if it is not an exchange server, it will mimic it's abilities.
imap-idle is the standard way of configuring things.
You can enable both if you wish, but from the client point of view, configuration will not be the same. One (z-push) will require an exchange like configuration, while imap-idle will require an imap configuration (provided the MUA can handle imap-idle).
Hello Thomas,
Thursday, April 8, 2010, 10:05:06 AM, you wrote:
I would like to use push in qmail+dovecot environments. Can someone tell me which components should I use to enable this feature for mobile devices?
On Thu, Apr 08, 2010 at 01:35:41AM +0300, Ibrahim Harrani wrote: this works fine with mobile clients that support IMAP IDLE. Using it with K-9 on Android devices and it works like a charm.
I second that, IMAP IDLE is the standard way of achieving push email functionality. Your client needs to support it but vast majority does these days.
And in fact k9mail on Android works great (really!) for me, too.
-- Best regards, Robert Tomanek mailto:dovecot@mail.robert.tomanek.org
Hi Robert,
I am testing dovecot imap idle feature on Nokia N97 with profimail client 3.X I configured profimail to use imap-idle I enabled "use push email" option and set IDLE ping time 5 min imap_idle_notify_interval=120 Here is the explanation of profimail parameters.
- *Use Push email* - enable or disable Push email (IMAP IDLE) connection mode on this account.
- *IDLE ping time* - tweak settings for keeping IMAP IDLE connection alive. By default you don't need to change this. You may set it lower if your mail server closes IDLE connection after shorter time.
Profimail works fine after configuring for a while. It receives mails from imap successfuly but after 5-10 minutes later profimail gets "*failed to connect(time out)*" error. There are following entires in the /var/log/maillog
*dovecot: IMAP(user): Connection closed: Connection reset by peer bytes*
I could not find the root cause of the problem. I changed IDLE ping time from 1 to 10 on the phone. Unfortunately the result is the same. It gets timeout error after working short time. Should I change imap_idle_notify_interval or any other parameter in server side?
Thanks
On Thu, Apr 8, 2010 at 8:23 PM, Thomas Leuxner <tlx@leuxner.net> wrote:
Am 08.04.2010 um 18:16 schrieb Robert Tomanek:
And in fact k9mail on Android works great (really!) for me, too.
Hey Robert,
all hail Dovecot and K-9 then :P
Cheers
participants (4)
-
Ibrahim Harrani
-
Renaud Allard
-
Robert Tomanek
-
Thomas Leuxner