[Dovecot] too large imap.index.data files
Hi,
I have noticed that imap.index.data are often too large files (several MiBs). Is there a way to limit their size or to shrink dimension or to assign another directory where those file are stored?
thank you
will
I have noticed that imap.index.data are often too large files (several MiBs). Is there a way to limit their size or to shrink dimension or to assign another directory where those file are stored?
# Default MAIL environment to use when it's not set. By leaving this empty # dovecot tries to do some automatic detection as described in # doc/mail-storages.txt. There's a few special variables you can use: # # %u - username # %n - user part in user@domain, same as %u if there's no domain # %d - domain part in user@domain, empty if user there's no domain # %h - home directory # # You can also limit a width of string by giving the number of max. characters # after the '%' character. For example %1u gives the first character of # username. Some examples: # # maildir:/var/mail/%1u/%u/Maildir # mbox:~/mail/:INBOX=/var/mail/%u # mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n #
-- Sven
From Sven Kirmess, Feb 23: # maildir:/var/mail/%1u/%u/Maildir # mbox:~/mail/:INBOX=/var/mail/%u # mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
You mean changing the mail environment? My current environment is:
default_mail_env = mbox:~/Mail/:INBOX=/var/spool/mail/%u
My ~/Mail directory contains symbolic links to mbox folders; sometimes the same mbox folder (e.g. Abox) has been linked to two ~/Mail subdirectories (e.g. Msub1 and Msub2):
~/Mail/Msub1/Abox ----> /home/pol/mail/folders/Abox ~/Mail/Msub2/Abox ----> /home/pol/mail/folders/Abox
Is that an issue?
thank you
will
--On Monday, February 23, 2004 07:23:28 +0100 wired@linfe.it wrote:
# maildir:/var/mail/%1u/%u/Maildir # mbox:~/mail/:INBOX=/var/mail/%u # mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
You mean changing the mail environment? My current environment is:
default_mail_env = mbox:~/Mail/:INBOX=/var/spool/mail/%u
I probably misunderstood your question. I thought you would like to redirect the INDEX files to another directory. This could be done with the INDEX keyword in the default_mail_env. But that won't change the index files, it will only store them at a different location.
e.g.:
default_mail_env = mbox:~/Mail/:INBOX=/var/spool/mail/%u:INDEX=~/index/
-- Sven
On Sun, 2004-02-22 at 23:12, Network Wizards wrote:
I have noticed that imap.index.data are often too large files (several MiBs). Is there a way to limit their size or to shrink dimension
They should be large only if there's lots of mails and they should shrink automatically when you delete mails.
However in next version they will be somewhat smaller. Currently it contains all kind of data that client may not be interested in, next version stores only what clients actually use.
or to assign another directory where those file are stored?
Sven answered this.
participants (5)
-
Network Wizards
-
Sven Kirmess
-
Sven Kirmess
-
Timo Sirainen
-
wired@linfe.it