[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mailbox_save_attributes
From: |
Alain Magloire |
Subject: |
Re: mailbox_save_attributes |
Date: |
Wed, 4 Jul 2001 00:18:39 -0400 (EDT) |
Bonjour
>
> just forgotten to say (c'est mon esprit d'escalier :^):
Too bad, Sam is in vancouver, he would have love those french bits 8-).
I wonder if he finished the book(Le petit prince) ...
> let's imagine imap4d or mail opens a mailbox with some messages marked
> as deleted. Then the program wants to do an expunge. But
> mailbox_expunge() will not remove these messages, because they don't
> have MU_ATTRIBUTE_MODIFIED set. How do you think, maybe
> mailbox_expunge() should look for MU_ATTRIBUTE_DELETED also?
So you are saying when looking for message marked "dirty", this should also
include MU_ATTRIBUTE_DELETED.
Ok, good point.
This has the amusing effect that if I send you mail with a bogus status
field like "Status: d", the message will be deleted when you quit
.. automatic removal 8-).
I've seen this with the C-client(Pine, imap4d, pop3d), IIRC they use
"X-Status:".
I guess this is another reason, for imap4d and pop3d servers to strip away
some headers when sending emails, and the send when doing mailbox_append().
Candidates for stripping:
Content-Length
Status
X-Status
Do remember sparky not being a big fan of header stripping.
--
alain