7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Adding Compressio...
FromSent OnAttachments
Gordan BobicOct 16, 2007 1:21 am 
Plamen PetrovOct 16, 2007 3:07 am 
Gordan BobicOct 16, 2007 5:37 am 
Gordan BobicOct 16, 2007 5:46 am 
Sam VarshavchikOct 16, 2007 7:07 pm 
Gordan BobicOct 17, 2007 12:27 am 
Enda CronnollyOct 17, 2007 1:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Adding Compression to MaildirActions...
From:Plamen Petrov (weba@tk.ru.acad.bg)
Date:Oct 16, 2007 3:07:39 am
List:net.sourceforge.lists.courier-users

Gordan Bobic wrote:

Hi,

I'm looking into how plausible it would be to add compression support to Maildir messages. The basic idea is to simply compress the entire message (file) just before writing it to disk, and decompressing it as soon as it is read. For transparent migration/integration, I could postfix (no pun intended) the messages with .lzo (that's the algorithm I'm thinking about using because of fast decompression) if they are compressed so that both could be handled the same way.

Could this be done using filters at the delivery stage? If so, could something similar be applied to decompress the message at read stage (for POP/IMAP delivery)?

If it cannot be done with filters, can anyone point me in the right direction? Where are the file read/write access points in the code?

Thanks.

Gordan

How about using a filesystem, that includes compression, for the place where you hold your Maildirs? reiser4 should do, because it is designed to cope well with many small files, although I'm not sure what is the compression algorithm used in it, but AFAIK there is compression module...

Just my $0.02.

Best regards,

-------------------------------- this message is UTF8 encoded