<p>It seems this was the behavior I saw too, which I thought was a bug for the same reason. I suggest filing a documentation bug report.</p>
<div class="gmail_quote">On Apr 11, 2011 6:55 PM, &quot;dtk&quot; &lt;<a href="mailto:d.t.k@gmx.de">d.t.k@gmx.de</a>&gt; wrote:<br type="attribution">&gt; Excerpts from Sebastian Spaeth&#39;s message of Mon Apr 11 18:41:51 +0200 2011:<br>
&gt;&gt; On Mon, 11 Apr 2011 10:33:21 +0200, dtk &lt;<a href="mailto:d.t.k@gmx.de">d.t.k@gmx.de</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; &gt; &#39;daemon mode&#39;[0] right now, but quick syncs don&#39;t work.<br>&gt;&gt; &gt; in my config, and the autorefresh setting works as expected, the IMAP server<br>
&gt;&gt; &gt; being checked for new mail every 300 seconds. But if I receive new mail in<br>&gt;&gt; &gt; between, it isn&#39;t detected until the next &#39;major&#39; check.<br>&gt;&gt;<br>&gt;&gt; That is bad.<br>&gt; indeed ;)<br>
&gt; <br>&gt;&gt; I certainly get new mail with it (not daemon mode<br>&gt;&gt; though).<br>&gt; hmm, by daemon mode you too mean specifying autorefresh so offlineimap doesn&#39;t<br>&gt; exit after the first sync? In that case I don&#39;t think I understand how<br>
&gt; quicksyncs behave in your case.<br>&gt; <br>&gt;&gt; I set my quick setting to -1 in .offlineimaprc..., I would<br>&gt;&gt; never get new mail otherwise.<br>&gt; why is that? doesn&#39;t -1 make all syncs quick ones? k, maybe not if not in daemon<br>
&gt; mode ;)<br>&gt; <br>&gt;&gt; Is that IMAP&lt;-&gt;IMAP? Or IMAP&lt;-&gt;Maildir ?<br>&gt; It&#39;s IMAP&lt;-&gt;Maildir<br>&gt; <br>&gt;&gt; We would need to debug offlineimap/folder/IMAP.py:quickchanged() which<br>&gt;&gt; determines whether to skip a check. There are currently no debug outputs<br>
&gt;&gt; in that function...<br>&gt; k, actually I misread the documentation :/ I&#39;m sorry :( I thought<br>&gt; [quote]<br>&gt;     # You can tell offlineimap to do a number of quicker synchronizations<br>&gt;     # between full updates.<br>
&gt; [/quote]<br>&gt; meant actually *between* full syncs, where when full syncs would take place was<br>&gt; configured via autorefresh. I expected configuring<br>&gt; [config]<br>&gt;     autorefresh = 5<br>&gt;     quick = 10<br>
&gt; [/config]<br>&gt; would full sync to take place every 5 * 60 = 300 seconds, with quick syncs being<br>&gt; triggered every 300 / 10 = 30 seconds. Stupid me *duh*<br>&gt; <br>&gt; Only when debugging sync() (thanks for the hint, Sebastian), I realized that<br>
&gt; quick specifies how many quick syncs are performed before another full sync is<br>&gt; done, syncs independent of type still _only_ being done every &lt;autorefresh&gt;<br>&gt; minutes.<br>&gt; <br>&gt; So<br>&gt; [config]<br>
&gt;     autorefresh = 0.5<br>&gt;     quick = 10<br>&gt; [/config]<br>&gt; nets me 1 full sync, 10 quick syncs after 30 seconds each, before after 5.5<br>&gt; minutes another full sync is performed. FTR -.-<br>&gt; <br>&gt; sorry for the false alarm :/<br>
&gt; dtk<br>&gt; <br>&gt; _______________________________________________<br>&gt; OfflineIMAP-project mailing list<br>&gt; <a href="mailto:OfflineIMAP-project@lists.alioth.debian.org">OfflineIMAP-project@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project">http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project</a><br>&gt; <br>&gt; OfflineIMAP homepage: <a href="http://software.complete.org/offlineimap">http://software.complete.org/offlineimap</a><br>
</div>