On 5 Mar 2003, Jonas Pasche wrote: >Hi Sigmund, >> Also, when I remove e.g. "DSP" in the MUA the directory ".DSP" is >> deleted, but not "bincimap-uidvalidity-INBOX.DSP". Why not? >I guess Binc IMAP doesn't clean up enough yet ;-) ...Andy?
There is a requirement in the IMAP protocol that says that the combination of a mailbox' UIDVALIDITY and a message's UID must be unique throughout the eternity of life as we know it. Is also says that UIDVALIDITY must stay as is or _increase_ for one mailbox even if the mailbox is deleted and then recreated later on. Some servers reset UIDVALIDITY when a mailbox is deleted. Those servers are incompliant with the protocol. Today, UIDVALIDITY is delegated through a time(NULL) call, but it should just be set to 1, then 2, then 3 etc.. In order to guarantee that a mailbox always receives a higher UIDVALIDITY than what it had before, the bincimap-<mailbox>-uidvalidity file must be left as "unused" metadata in the root Maildir. Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

