From: Greg Troxel <gdt@work.lexort.com>
To: ding@gnus.org
Subject: Re: sluggish IMAP updating?
Date: Thu, 24 May 2007 11:13:00 -0400 [thread overview]
Message-ID: <smufy5mi7b7.fsf@linuxpal.mit.edu> (raw)
In-Reply-To: <87veeixo5j.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Thu, 24 May 2007 17:00:08 +0200")
Simon Josefsson <simon@josefsson.org> writes:
>> The word from dovecot is that STATUS on a selected mailbox is SHOULD NOT
>> to start with, and MUST NOT to check for new mail. See 6.3.10 of
>> RFC3501.
>>
>> http://dovecot.org/pipermail/dovecot/2007-May/023045.html
>>
>> Plus, doing lots of STATUS commands seems to be disfavored but I don't
>> understand IMAP well enough to understand.
>
> nnimap was written when RFC 2060 was current, and we haven't really
> updated it for RFC 3501. I suspect the notes in 6.3.10 was added as a
> result of nnimap and other implementations behaviour, but the problem is
> that I don't know of a good way to implement this in Gnus without using
> STATUS (and, alas, I wouldn't have time to implement anything even if I
> had some ideas). Note that I cannot see that RFC 3501 allows servers to
> respond with incorrect data in this situation, which dovecot appears to
> be doing.
The dovecot people talk about 'synchronizing the mailbox', and
apparently they are in an implementation bind because they aren't
allowed to clear recent flags.
I see your point, but the RFC says "MUST NOT" use STATUS on a selected
mailbox to check for new mail.
I think one is supposed to use SEARCH RECENT, but I really just barely
understand imap.
> This will slow things down for other users... Are you using the latest
> Dovecot version? Maybe we can improve the manual.
Yes, I'm running 1.0.0.
> I don't have a strong opinion on what the default should be. If others
> think it is safer to let it be t by default, by all means change it.
Someone else was having trouble with courier imap, so this seems not to
just be a dovecot issue. I'd favor safety over efficiency. for me
'g' takes a while and does 100 STATUS checks, so an unselect hardly
seems like a big deal.
next prev parent reply other threads:[~2007-05-24 15:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-23 17:34 Greg Troxel
2007-05-24 7:13 ` Gabor Z. Papp
2007-05-24 11:55 ` Simon Josefsson
2007-05-24 12:11 ` Greg Troxel
2007-05-24 15:00 ` Simon Josefsson
2007-05-24 15:13 ` Greg Troxel [this message]
2007-05-24 15:18 ` Simon Josefsson
2007-05-24 15:43 ` Greg Troxel
2007-05-24 13:50 ` Greg Troxel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=smufy5mi7b7.fsf@linuxpal.mit.edu \
--to=gdt@work.lexort.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).