Re: [Dovecot] handling filename of compressed messages

2010-01-17 Thread Eduardo M KALINOWSKI
On 01/17/2010 12:06 PM, Leonardo Rodrigues wrote: The 'script compress idea' from the Wiki page sais: Dovecot can now read the file, but to avoid compressing it again on the next run, you'll probably want to rename it again to include e.g. a "Z" flag in the file name to mark that it was compresse

Re: [Dovecot] handling filename of compressed messages

2010-01-17 Thread Leonardo Rodrigues
Leonardo Rodrigues escreveu: Curtis Maloney escreveu: Timo -- any tips on helping dovecot deliver compress mails on delivery? It would solve a lot of problems here, from what I can see, to have a deliver plugin that compresses on delivery and sets the Z flag in the filename. that would

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Curtis Maloney escreveu: Timo -- any tips on helping dovecot deliver compress mails on delivery? It would solve a lot of problems here, from what I can see, to have a deliver plugin that compresses on delivery and sets the Z flag in the filename. that would be indeed lovely when thi

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Curtis Maloney
On 01/14/10 20:58, Leonardo Rodrigues wrote: what would be the correct way of compressing messages on the new directory and adding the Z flag ? Would be any problem if, when compressing on new, add the ':2,' suffix ? Indeed it would be ':2,Z' suffix one OK... since I've been wanting compressed

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Timo Sirainen escreveu: Maildir spec says files in new/ shouldn't have the :2, part, but Dovecot is fine with it. i'm trying to get the sample script for compressing maildirs from http://wiki.dovecot.org/Plugins/Zlib (right on the end of the page) but link seems to be not accessible. h

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Patrick Domack escreveu: If people read their emails atleast daily, it would work ok that way. But with several people that only read emails monthly or even not at all, it helps to compress the new folder also. let's not forget those 'created and forgot' mailboxes, who stands there on

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Timo Sirainen
On 14.1.2010, at 11.58, Leonardo Rodrigues wrote: >> In short: You want to rename >> 1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207 >> to 1263436052.V6814I43300b4M146002.correio.domain.com.br,S=238207:2,Z >> > > got it so, basically, i shouldnt be using .gz at all, is tha

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Patrick Domack
Quoting Eduardo M KALINOWSKI : On Qui, 14 Jan 2010, Leonardo Rodrigues wrote: got it so, basically, i shouldnt be using .gz at all, is that ok ? Yes. i understood that, when moving from new to cur, filename should be appended of ':2,'. But filenames on new, as i understood, should

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Eduardo M KALINOWSKI
On Qui, 14 Jan 2010, Leonardo Rodrigues wrote: got it so, basically, i shouldnt be using .gz at all, is that ok ? Yes. i understood that, when moving from new to cur, filename should be appended of ':2,'. But filenames on new, as i understood, should never be changed. As soon as

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Leonardo Rodrigues
Pascal Volk escreveu: No, you don't wont to have such file names. http://wiki.dovecot.org/Plugins/Zlib: … Dovecot can now read the file, but to avoid compressing it again … include e.g. a "Z" flag in the file name … (e.g. 1223212411.M907959P17184.host,S=3271:2,SZ) The article links also to: ht

Re: [Dovecot] handling filename of compressed messages

2010-01-13 Thread Pascal Volk
On 01/14/2010 03:33 AM Leonardo Rodrigues wrote: > i'm running dovecot 1.2.9 and, among other things, i have the zlib > plugin enabled. A shell script runs once a day to compresses all not > still compressed files on the users maildirs. > > so far so good, it works fine, there's no probl

[Dovecot] handling filename of compressed messages

2010-01-13 Thread Leonardo Rodrigues
i'm running dovecot 1.2.9 and, among other things, i have the zlib plugin enabled. A shell script runs once a day to compresses all not still compressed files on the users maildirs. so far so good, it works fine, there's no problem on that. what i think is not happening 100% correc