I wonder if there are people out there who require the variable `elmo-imap4-use-select-to-update-status' to be set. The problem with this variable: Dunno what to make out of it. Jugding from the code this variable is required for IMAP servers that can only perform the STATUS command on a selected mailbox. Example: Luna method `elmo-folder-next-message-number-plugged' -- this method returns the value of UIDNEXT as the next message number of a plugged IMAP4 folder. This value can obtained by STATUS, EXAMINE and SELECT. The method checks for `elmo-imap4-use-select-to-update-status' and if it is set, it explicitly SELECTs the mailbox before it calls STATUS. On the other hand, the docstring reads: "Some imapd have to send select command to update status.", thus indicating that these IMAP servers only provided up-to-date information about the mailbox when it is selected. If this is the case, then whatever these servers are, they are not complying with RFC3501 where it reads: "The STATUS command provides an alternative to opening a second IMAP4rev1 connection and doing an EXAMINE command on a mailbox to query that mailbox's status without deselecting the current mailbox in the first IMAP4rev1 connection." Because on such servers STATUS wouldn't be an alternative to EXAMINE without deselecting the current mailbox. The docstring mentions UW imapd 4.5-BETA as a candidate for this misbehaviour. This version of uw-imapd dates approximately around 2000. Anyone has more information on this? -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de
Attachment:
pgp3FDnfaqcUg.pgp
Description: PGP signature