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
Hi again, I configured hibernation as suggested by Aki, and still nothing. What may i be missing? https://doc.dovecot.org/configuration_manual/hibernation/ -----Original Message----- From: dovecot <dovecot-bounces at dovecot.org> On Behalf Of Jorge Bastos via dovecot Sent: Sunday, July 21, 2019 14:14 To: 'Dovecot Mailing List' <dovecot at dovecot.org> Subject: RE: Help with IMAP IDLE 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
> On 21/07/2019 18:45 Jorge Bastos via dovecot <dovecot at dovecot.org> wrote: > > > Hi again, > > I configured hibernation as suggested by Aki, and still nothing. > What may i be missing? >I just read again the mails you sent and realized it had nothing to do with hibernation. Sorry about that.. imapc_max_idle_time = 1 days this is related to imap client, not imap connections. it won't really matter for your issue. also I note that you have disabled SSL and enabled plaintext authentication over insecure channels, is this intentional? For debug purposes you can use rawlogs feature, which is better for this. https://doc.dovecot.org/admin_manual/debugging/debugging_rawlog/ In fact, you could use this feature to find out whether outlook even tries to use IMAP IDLE in the first place. Aki