l�rdagen den 29 mars 2003 18.36 skrev Andreas Aardal Hanssen: > Hi, Oden. > > On Sat, 29 Mar 2003, Oden Eriksson wrote: > >Hi. > >This would be kind of cool to have in bincimap. > >http://www.jedi.claranet.fr/qmail-compression.patch > >"This is a patch against the Qmail mail server. Messages will be saved in > >Maildir spools as gzip files, and the POP3 server uncompresses them > >on-the-fly. It may save a lot of hard disk space and does not change > >anything to the POP3 nor SMTP protocols." > > Quite neat. A friend of mine wondered wether or not Binc could process a > mime doc and make it "mobile friendly" - that is - all non-image > attachments are stripped and image attachments are resized to NxM and > resampled to C colors. > > It would be quite cool if the mime reader could optionally pass the mime > docs through a filter, a stdin-stdout executable - before it was actually > parsed. We could allow a pipeline of filters to process the content with > before it is displayed to the client. > > For most users, leaving the filter setting empty would leave the server's > behavior unchanged.
Cool! But it would nicer if there where a way to turn this on and off using the client, maybe sending a special email to oneself to control this? I mean, one day Joe User could be using MS Outlook, and the next day using a PDA/WAP or whatever? Or do the client advertise itself? Perhaps this should be done using a plugin system to bincimap? > The content of the message identified by a UID must remain unchanged for > each UIDVALIDITY assigned to the mailbox. So if a filter alters the > content of a message, it must do so throughout the whole lifetime of a > uidvalidity. > > As a little PS - the former place we worked, we concluded that the > overhead of compressing 2.5 million emails every day was way too high > compared with the price per megabyte ;), but we never really put any > research into it.. Yes, you are probably right. There are also transparent fs compression one could use instead. -- Regards // Oden Eriksson, Deserve-IT.com

