Help with IMAP IDLE

Jorge Bastos
Sun, 21 Jul 2019 13:13:58 -0000

Sorry...
I meant to past dovecot and not postfix, doing simultaneously stuff ends up
in this!
Yes, i migrated from DBMail and it was working OK.

Here it is:

root at fastmail:/etc/dovecot# doveconf -n|grep -i idle
imap_idle_notify_interval = 1 mins
imapc_max_idle_time = 1 days
root at fastmail:/etc/dovecot#


-----Original Message-----
From: dovecot <dovecot-bounces at dovecot.org> On Behalf Of Alexander
Dalloz
via dovecot
Sent: Sunday, July 21, 2019 13:31
To: dovecot at dovecot.org
Subject: Re: Help with IMAP IDLE

Am 21.07.19 um 14:24 schrieb Jorge Bastos via dovecot:
> Hi,

[ ... ]

> How can i make IDLE work for real with MSOutlook, so that i can
> receive emails when they arrive, instead of changing folder/get out
> and in my account?

Microsoft's Outlook is primarily meant as the client for Exchange. IMAP is
been poorly implemented, across many generations of Outlook. So are you sure
your Outlook even supports IMAP IDLE? And if it does, not only on the single
folder you have a running connection to but for all folders?

> Here's my conf, should it be reflected in postconf -n (is it the
> running
> conf?):

Postfix has nothing to do with that, so "postconf -n" is not required.

> =================>
>
>
> root at fastmail:/etc/dovecot# grep -ir idle *
>
> conf.d/20-imap.conf.ucf-dist:# If nothing happens for this long while
> client is IDLEing, move the connection
>
> conf.d/20-imap.conf.ucf-dist:# IDLEing.
>
> conf.d/20-imap.conf.ucf-dist:#imap_idle_notify_interval = 2 mins
>
> conf.d/20-imap.conf:imapc_max_idle_time = 1440 mins
>
> conf.d/20-imap.conf:# IDLEing.
>
> conf.d/20-imap.conf:#imap_idle_notify_interval = 2 mins
>
> conf.d/20-imap.conf:imap_idle_notify_interval = 1 min
>
> conf.d/20-imap.conf:#imap_client_workarounds = outlook-idle
>
> conf.d/10-mail.conf.ucf-dist:# When IDLE command is running, mailbox
> is checked once in a while to see if
>
> conf.d/10-mail.conf.ucf-dist:#mailbox_idle_check_interval = 30 secs
>
> conf.d/10-mail.conf:# When IDLE command is running, mailbox is checked
> once in a while to see if
>
> conf.d/10-mail.conf:#mailbox_idle_check_interval = 30 secs
>
> root at fastmail:/etc/dovecot# postconf -n|grep -i idle

"doveconf -n" would tell you which settings are effectively set.

> root at fastmail:/etc/dovecot#

Alexander