[Dovecot] Add S=<size> to maildirfile

Jack Bates jbates at brightok.net
Thu Oct 18 19:49:05 EEST 2012


On 10/18/2012 11:22 AM, Robert Schetterer wrote:
> Am 18.10.2012 16:29, schrieb Alessio Cecchi:
>> Hi,
>>
>> in some old Maildir/ I have file without the S=<size> in file name.
>>
>> Is possibile to add the size to the file name with some tools like doveadm?
>>
>> Are there other methods to update these file?
>>
>> Thanks
>>
> perhaps this helps for ideas
>
> http://wiki2.dovecot.org/HowTo/RefilterMail
>
> perhaps you can use dsync also , but i am really not sure
> if this works
>
> http://wiki2.dovecot.org/Tools/Dsync
>
> however its easy to test

Dsync would be the best option, I believe. It should work moving from 
maildir to maildir, but if necessary, you could also convert it to 
another format and then put it back to maildir.

Jack



More information about the dovecot mailing list