Hi, Ken. :-)

On Tue, 30 Sep 2003, Scott Balneaves wrote:
>Ken Godee wrote:
>> turn on "Clean up ("Expunge") inbox on Exit"
>Yup, that's done already.  No go.
>Here's the way to test:
>(...)
>and, back in the xterm:
>004 STATUS INBOX (MESSAGES)
>Low and behold, the message count has dropped now.

When a client deletes a message in IMAP, it's always marked as \Deleted
before it is "expunged". Mozilla's "compact folders" feature runs the
command "expunge" to the IMAP server, in which case the messages are
permanently removed from the mailbox.

The message count stays the same when a message is marked as deleted, but
it changes when a mailbox is expunged. This is the way IMAP works.

However, when Mozilla is set to "remove the message immediately", I would
assume (as in, I don't know) that it runs a EXPUNGE every time the user
deletes a message. The only way to know for sure is to intercept the
communication between Mozilla and the IMAP server, and to post the results
to this list. You can use strace, recordio or similar tools to do this.

Hope this helps,

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."

Reply via email to