[Dovecot] handling filename of compressed messages

Patrick Domack patrickdk at patrickdk.com
Thu Jan 14 15:13:20 EET 2010


Quoting Eduardo M KALINOWSKI <eduardo at kalinowski.com.br>:

> 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 they are read there (on new), they  
>> should be moved to cur.
>>
>>   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
>
> How about not compressing mails still in new/? They shouldn't remain  
> there for very long anyway, you could compress only the ones in cur/.
>

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.




More information about the dovecot mailing list