Leonardo Rodrigues a écrit : > > Hi, > > I was recently playing with dovecot plugins, and one of them caught > my attention: zlib. This plugin allows dovecot imap4/pop3 modules to > deal with gzipped messages on Maildir+ boxes ... files are stored in > compressed format and users can normally check them through IMAP4/POP3, > decompression is on-the-fly and users doesnt notice anything. > > On several mailboxes i have access and could test, gzipping all > message files would save about 40% of storage space. Of course the > compression/decompression is a very CPU intensive task ... but 40% of > storage saving really calls my attention. > > Apparently there's no problem with mailbox quota management because > dovecot uses the S=size parameter which is present on the filenames, > which postfix writes correctly, instead of filesize on the file system. > > Altough dovecot supports reading gzipped files through IMAP4/POP3 > modules, it does not automatically compress files on its delivery agent, > that should be done by some script somehow. > > Dovecot delivery agent do not support on-the-fly compression when > delivering messages .... but when (and if) dovecot delivery agent > supports that on-the-fly compression as well, i'll really study it. > > Anyway, as i dont use dovecot delivery agent because postfix virtual > delivery agent really fits my needs .... i would like to propose a > feature request here, the on-the-fly compression on virtual delivery > agent, which would be a perfect match for dovecot zlib module i described. > > > Because of locking things, that on-the-fly compression/decompression > is not possible for mbox boxes. > > > Some minor information about dovecot zlib module: > > http://wiki.dovecot.org/Plugins/Zlib >
I don't wanna sound negative, but - since dovecot solves the problem... - this can also be handled at fielsystem level - every time I hear "zlib", someting like "vulnerability" hits my ears. so if I can vote, I'd say no to zlib integration. this applies to dovecot too. unfortunately, it seems that Timo is "too open", which makes the "with security in mind" of dovecot debatable at least. is it time to move back to courier? - the best code is that you don't write ...