Paul J Stevens wrote:
Peter Rabbitson wrote:
Paul J Stevens wrote:
Messages without cached
headers can still be retrieved through IMAP or POP3, though in the
case of IMAP
they will look funny in the list-pane, and look just fine in the
preview pane.
Isn't this a potential mail-loss scenario? A user opens his email
client, sees weird subjects and deletes them without looking inside. Is
it possible to add a layer of translucency to the cache table? So if the
cached header for a message is not present, the real physmessage is
parsed instead?

That would defeat the purpose of the cache tables.

Imagine where an IMAP client requests a list of headers:

x UID FETCH 1:* (BODY.PEEK[HEADER.FIELDS (References X-Ref X-Priority
X-MSMail-Priority X-MSOESRec Newsgroups)])

(this is from the outlook fetch command). It is perfectly valid for an imap
client to request headers that may not be there. So if you have a mailbox with
messages, none of which have for example the X-MSOESRec header, dbmail would
have to retrieve each of those messages in full to do a double check for the
non-existence of a header that is (correctly) not in the caching tables.


Good point. However I still think that caching (and subsequently losing) the subjet is inherently bad. Probably the Subject needs preferential treatment, just like From/To as they seem to not be affected by cache presence?
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to