[Dovecot] maildir-tags

grant beattie grant at grunta.com
Thu May 18 03:21:21 EEST 2006


On Thu, May 18, 2006 at 01:05:19AM +0200, Marten Lehmann wrote:

> Hello,
> 
> I configured my MTA to store messages in maildirs with a tag 
> "S=$message_size", so quota calculations can be done without stat()ing 
> the message file. However, I have a lot old messages, than haven't been 
> stored with this tag. Is it possible to configure dovecot so that it 
> will rename each file adding this messagesize-tag if it is not found in 
> a file already?

I don't believe so, but you could write a simple script to stat and
rename the files that don't already have S=<size> in them. I had to do
this when I converted 500gb of mbox to maildir :-)

grant.



More information about the dovecot mailing list