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? You can find more on this at http://www.exim.org/exim-html-4.62/doc/html/spec_html/ch26.html#id2634917 Regards Marten
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.
Seemingly Similar Threads
- Maildir++?
- [PATCH 1/1] Rename camel case variables in channel.c (updated)
- [PATCH 1/1] Rename camel case variables in channel.c (updated)
- [PATCH 1/1] staging: hv: Remove camel case variables in channel.c
- [PATCH 1/1] staging: hv: Remove camel case variables in channel.c