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. -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
