[fetchmail] Patch for IMAP idling where idling is unsupported
Eric S. Raymond
esr@thyrsus.com
Mon, 21 Jul 2003 22:32:31 -0400
Chris Boyle <fetchmail-friends@cmb.is-a-geek.org>:
> Here's a patch I've written: where IDLE is unavailable, it uses periodic
> NOOP commands instead (every 28 seconds). Important behavioural change:
> the option "idle" will now always result in *some* form of idle. I think
> I read somewhere that some servers will unilaterally send status updates
> if you just hold the connection open, i.e. NOOPs would be unnecessary,
> but that doesn't seem to be the case anywhere I've tried. In any case,
> this patch copes with updates both as a response to the NOOPs and
> unilaterally sent between them. It functions exactly like normal idling
> (N.B. like normal idling, it is single-folder only), and hopefully
> includes all the appropriate changes to the documentation. Enjoy. :-)
>
> http://cmb.is-a-geek.org/downloads/fetchmail-6.2.2+noopidle.diff.gz
Nice work. This will be in 6.2.4.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>